Last active
December 5, 2018 03:34
-
-
Save AVDW/2a4fe2e917bee9fa83b3297ac7e77ffe to your computer and use it in GitHub Desktop.
self signed ssl cert in one line
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
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 | |
# without passphrase | |
openssl req -nodes -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment