Last active
March 29, 2020 19:23
-
-
Save miguelfrde/a49748927c21013ef0e7 to your computer and use it in GitHub Desktop.
Self signed SSL
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 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