Last active
July 26, 2016 13:42
-
-
Save pceccato/369982e3acfcaa68233ed39f42bd9377 to your computer and use it in GitHub Desktop.
Interactively create a 2048 bit ssl certificate for a domain using letsencrypt suitable for Google App Engine. The second command converts the private key to PEM format suitable for GAE gaeconvertcert.sh. GAE can't handle certificates any bigger than 2048
This file contains hidden or 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
| ./letsencrypt-auto certonly -a manual --rsa-key-size 2048 --email [email protected] -d shop.rhubarbfood.org.au |
This file contains hidden or 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
| openssl rsa -inform pem \ | |
| -in /etc/letsencrypt/live/$1/privkey.pem \ | |
| -outform pem > /etc/letsencrypt/live/$1/privkey_fixed.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment