Skip to content

Instantly share code, notes, and snippets.

@hgrimelid
Created March 2, 2020 11:20
Show Gist options
  • Save hgrimelid/3c53ef15910b46aa7b8a78eee919ffb4 to your computer and use it in GitHub Desktop.
Save hgrimelid/3c53ef15910b46aa7b8a78eee919ffb4 to your computer and use it in GitHub Desktop.
Issue new Let's Encrypt certificates
/etc/letsencrypt/acme.sh --config-home '/etc/letsencrypt/config' --issue -d MYSITE -d www.MYSITE -w /var/www/html -k ec-384
/etc/letsencrypt/acme.sh --config-home '/etc/letsencrypt/config' --install-cert -d MYSITE -d www.MYSITE --ecc --cert-file /etc/letsencrypt/live/MYSITE/cert.pem --key-file /etc/letsencrypt/live/MYSITE/key.pem --fullchain-file /etc/letsencrypt/live/MYSITE/fullchain.pem --ca-file /etc/letsencrypt/live/MYSITE/ca.pem --reloadcmd "service nginx restart"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment