Skip to content

Instantly share code, notes, and snippets.

@AVDW
Last active December 5, 2018 03:34
Show Gist options
  • Save AVDW/2a4fe2e917bee9fa83b3297ac7e77ffe to your computer and use it in GitHub Desktop.
Save AVDW/2a4fe2e917bee9fa83b3297ac7e77ffe to your computer and use it in GitHub Desktop.
self signed ssl cert in one line
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