Skip to content

Instantly share code, notes, and snippets.

@pceccato
Last active July 26, 2016 13:42
Show Gist options
  • Select an option

  • Save pceccato/369982e3acfcaa68233ed39f42bd9377 to your computer and use it in GitHub Desktop.

Select an option

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
./letsencrypt-auto certonly -a manual --rsa-key-size 2048 --email [email protected] -d shop.rhubarbfood.org.au
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