Letsencrypt automatic certificate renew

To make automatic renew you Letsencrypt certificates you need create crontab job. Here is simple instructions 1. Create /root/certrenew.sh file with content: #!/bin/bash PATH=/usr/sbin:/usr/bin:/sbin:/bin sudo service nginx stop /home/igor/letsencrypt/letsencrypt-auto renew service nginx start exit 0 2. Make it executable `chmod +x /root/certrenew.sh` 3. `sudo crontab -e` 4. Add crontab job. Read more…

How to fix Attempting to renew cert from /etc/letsencrypt/renewal/example.com.conf produced an unexpected error: Problem binding to port 443: Could not bind to IPv4 or IPv6.. Skipping.

Issue: Attempting to renew cert from /etc/letsencrypt/renewal/example.com.conf produced an unexpected error: Problem binding to port 443: Could not bind to IPv4 or IPv6.. Skipping. How to fix: Just stop webserver before renew letsencrypt. sudo service nginx stop cd letsencrypt sudo ./letsencrypt-auto renew sudo service nginx start