HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


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/certbot-autochmod a+x certbot-auto

Then run the following commands:

$ ./certbot-auto

$ ./path/to/certbot-auto --apache

$ ./path/to/certbot-auto --apache certonly

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

./path/to/certbot-auto renew

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

./path/to/certbot-auto renew --dry-run

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.

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 1234
567891011
12131415161718
19202122232425
262728293031 

Born in 2004 ... Trusted By Clients n' Experts