Using Let’s Encrypt with Nginx on CentOS 7

Using Let’s Encrypt with Nginx on CentOS 7

I had a website that I was working on an needed to install a quick SSL certificate. I highly recommend using Let’s Encrypt, a free SSL certificate authority that has automated scripts on Linux to easily issue and install a certificate. It’s very straight forward.

Last thing to do is automate the renewals with a cronjob. Add this to your root crontab.

22 0 * * * certbot renew --quiet

This will use the Certbot client to check your Let’s Encrypt certificates daily at 10PM, but really can be anytime you want. If the certificates are under 30 days certbot will attempt to renew the certificate for your domain.