Let's Encrypt Standalone on Centos 7#
- sudo yum --enablerepo=extras install epel-release
- sudo yum install certbot
- certbot --version
- sudo certbot certonly --standalone --preferred-challenges http -d example.com
Auto-Renewal#
- sudo systemctl enable --now certbot-renew.timer
- sudo systemctl status certbot-renew.timer
Renew Hook#
- sudo vi /etc/letsencrypt/renewal/example.com.conf
- renew_hook = systemctl reload rabbitmq - This goes on the last line.
- sudo certbot renew --dry-run