Created
March 24, 2013 01:34
-
-
Save aldoborrero/5230063 to your computer and use it in GitHub Desktop.
Generate a dummy wildcard SSL certificate.
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
# Enter a passphrase if you want | |
openssl genrsa -des3 -out server.key 1024 | |
# Fill data with whatever you want | |
openssl req -new -key server.key -out server.csr | |
cp server.key server.key.org | |
openssl rsa -in server.key.org -out server.key | |
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment