Created
January 30, 2017 10:26
-
-
Save ishansharma/df98ea0f2c0b35b151f41ff75a98acde to your computer and use it in GitHub Desktop.
Generate SSL Certificate and Key on macOS
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 genrsa -out example.com.key 2048 | |
openssl req -new -x509 -key example.com.key -out example.com.cert -days 3650 -subj /CN=example.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment