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