Let’s Encrypt on Centos 7

Install required packages

# sudo yum install epel-release
# sudo yum install httpd mod_ssl python-certbot-apache

Request an SSL Certificate

# sudo certbot --apache -d andeby.dk -d www.andeby.dk

Setup renewal cron

# sudo contab -e

Add the following

30 1 * * 1 /usr/bin/certbot renew >> /var/log/letsencrypt-renew.log

Check your certificate:
https://www.ssllabs.com/ssltest/analyze.html?d=morten.io&latest

Leave a Reply

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