Created
January 16, 2018 03:13
-
-
Save huozhi/c290f9f0857e749de7bfa00908128707 to your computer and use it in GitHub Desktop.
generate ssl keys for localhost
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 -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem | |
# only enter the Common Name: your ip address or your domain name |
Author
huozhi
commented
Jan 16, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment