HOSTSEO BLOG

Let’s Encrypt is the new cool kid in town. What’s cooler than automated, free certificates that are as secure as commercial SSL certs, but come with none of…

HOW TO SETUP LET’S ENCRYPT ON CENTOS

Let’s Encrypt is the new cool kid in town. What’s cooler than automated, free certificates that are as secure as commercial SSL certs, but come with none of the pain associated with having to validate and renew your certs?

If you’ve just set up your new VPS server at Host SEO and want to find out how to set up free SSL certs in it, you’ve come to the right place.

The future of domain-validated certificates lies on Let’s Encrypt, and today we’ll be looking at how to set it up in your CentOS server. This tutorial will assume that you’re running an Apache web server on CentOS 6.

We’ll be using the CertBot client, as it makes things a lot easier compared to a completely manual install.

First, download it from shell:

wget https://dl.eff.org/certbotautochmod a+x certbotauto

Then run the following commands:

$ ./certbotauto

$ ./path/to/certbotauto apache

$ ./path/to/certbotauto apache certonly

Finally, set up auto-renewing so you don’t have to deal with manually renewing your certs when they expire:

./path/to/certbotauto renew

If the above doesn’t seem to be working, certbot provides a testing feature for auto renewal:

./path/to/certbotauto renew dryrun

That should be it. You’re good to go. If you’re looking for a more complex setup, you can check out Cerbot’s advanced documentation.

Leave a Reply

Your email address will not be published. Required fields are marked *

Human security check Solve the quick calculation to publish your comment.