Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Self signed SSL
openssl genrsa -des3 -out ssl.key 2048
openssl req -new -key ssl.key -out ssl.csr
cp ssl.key ssl.key.orig
openssl rsa -in ssl.key.orig -out ssl.key
openssl x509 -req -days 1095 -in ssl.csr -signkey ssl.key -out ssl.crt
cat ssl.crt ssl.key > ssl.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.