Last active
December 17, 2015 14:59
-
-
Save robwilkerson/5628585 to your computer and use it in GitHub Desktop.
Generates a self-signed SSL certificate. #bash #ssl
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
# Generate a self-signed certificate | |
echo -n "Generating a self-signed SSL cert..." | |
openssl req -new -x509 -days 365 -subj "/C=US/ST=MD/L=Baltimore/O=Rob Wilkerson Consulting, LLC/CN=*.MYDOMAIN.COM" -nodes -out /etc/ssl/certs/wildcard-cert.pem -keyout /etc/ssl/private/wildcard-cert.key | |
echo "complete." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment