Created
March 9, 2015 11:29
-
-
Save akagr/ebc0f3c7af360118b897 to your computer and use it in GitHub Desktop.
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
openssl genrsa -des3 -out config/topbox-ca-key.pem 1024 | |
openssl req -new -key config/topbox-ca-key.pem -out config/topbox-ca.pem | |
openssl x509 -req -days 365 -in config/topbox-ca.pem -out config/topbox-ca-csr.pem -signkey config/topbox-ca-key.pem | |
openssl genrsa -des3 -out config/topbox-key.pem 1024 | |
openssl req -new -key config/topbox-key.pem -out config/topbox-csr.pem | |
cp config/topbox-key.pem config/server.key.org | |
openssl rsa -in config/server.key.org -out config/topbox-key.pem | |
rm config/server.key.org | |
openssl x509 -req -days 365 -in config/topbox-csr.pem -signkey config/topbox-key.pem -out config/topbox-cert.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment