Letencrypt
1. Download
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt2. Create new SSL domain
service nginx stop/opt/letsencrypt/certbot-auto certonly --standalone3. Automatic renew
EDITOR=nano crontab -e30 2 * * * /opt/letsencrypt/certbot-auto renew --pre-hook "service nginx stop" --post-hook "service nginx start" >> /var/log/le-renew.logLast updated
Was this helpful?