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 VPSCheap, 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.

Facebooktwittergoogle_plusredditpinterestlinkedinmail