Created
March 31, 2011 18:57
-
-
Save vinioliveira/896988 to your computer and use it in GitHub Desktop.
Generating key and cert openssl
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
# Generating the private key | |
openssl genrsa -des3 -out server.key 1024 | |
# Generating the certificate single request | |
openssl req -new -key server.key -out server.csr | |
# Removing password from private key | |
cp server.key server.key.org | |
openssl rsa -in server.key.org -out server.key | |
# Generating 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