Created
May 17, 2018 16:56
-
-
Save gkarugi/efd6e7c6c95eee3f9836b3b3108b4a19 to your computer and use it in GitHub Desktop.
works on ubuntu (or a linux distro)
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
wget https://dl.eff.org/certbot-auto | |
chmod a+x ./certbot-auto | |
sudo ./certbot-auto | |
//wildcard ssl | |
sudo ./certbot-auto certonly \ | |
--server https://acme-v02.api.letsencrypt.org/directory \ | |
--manual --preferred-challenges dns \ | |
-d *.example.com | |
//non wildcard ssl | |
sudo ./certbot-auto certonly \ | |
--server https://acme-v02.api.letsencrypt.org/directory \ | |
--manual --preferred-challenges dns \ | |
-d example.com | |
sudo openssl pkcs12 \ | |
-inkey /etc/letsencrypt/live/example.com/privkey.pem \ | |
-in /etc/letsencrypt/live/example.com/cert.pem \ | |
-export -out ./example-ase.pfx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment