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