Last active
April 7, 2020 00:42
-
-
Save weaponsforge/ce881621566b2e491d96bf843a8fc441 to your computer and use it in GitHub Desktop.
Create "secure" ssl certificates for localhost using openssl
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
// Requires req.cnf (see req.cnf gist) | |
// Proceed to update windows "hosts" file and certmgr.msc to enable "secure" ssl for localhost using the generated certficiate | |
openssl req -nodes -newkey rsa:2048 -days 365 -x509 -keyout server.key -out server.out -config req.cnf -sha256 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment