Last active
June 14, 2018 02:47
-
-
Save granbom/f6b5ba8a68e4e8a2a8d085d253ad898d to your computer and use it in GitHub Desktop.
certbot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
certbot certonly --webroot -w /var/www/example/ -d www.example.com -d example.com | |
certbot certonly --webroot -w /var/www/example/ -d example.com -d www.example.com --post-hook="service nginx reload" | |
certbot certificates | |
# windows | |
certbot certonly --manual --preferred-challenges http -d example.com -d www.example.com | |
openssl pkcs12 -inkey privkey.pem -in cert.pem -in fullchain.pem -export -out example.pfx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment