Last active
August 4, 2022 22:06
-
-
Save cheiff/d5352201b038228e99ed80d620ab243b to your computer and use it in GitHub Desktop.
Generate self-signed ssl cert in one command - no passphrase
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 req -x509 -newkey rsa:4096 -keyout server.key -out server.cert -sha256 -days 3650 -nodes -subj '/CN=localhost' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment