Created
June 1, 2014 22:45
-
-
Save roscius/0ff65eb53d0f596522ff to your computer and use it in GitHub Desktop.
Self Signed SSL Cert
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
| # Create the Server Key | |
| openssl genrsa -des3 -passout pass:x -out server.pass.key 2048 | |
| openssl rsa -passin pass:x -in server.pass.key -out server.key | |
| rm server.pass.key | |
| # Create the CSR | |
| openssl req -new -key server.key -out server.csr | |
| # Sign the certificate | |
| 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