Created
July 16, 2015 11:12
-
-
Save reyesyang/88c33f4ce7219f9e7656 to your computer and use it in GitHub Desktop.
Generate SSL Key, CSR and Self Signed 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
# Generate Private Key: | |
openssl genrsa -out server.key 1024 | |
# Generate a Certificate Signing Request (CSR) | |
openssl req -new -key server.key -out server.csr | |
# Generate a Self-Signed SSL 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