Created
November 20, 2012 05:51
-
-
Save emjayess/4116283 to your computer and use it in GitHub Desktop.
Generate a StartCom Ltd Authorized unified ssl certificate for use in nginx
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
| # Decrypt the private key by using the password you entered when you created your key: | |
| openssl rsa -in ssl.key -out /etc/ssl/private/ssl.key | |
| # Protect your key from prying eyes: | |
| chmod 600 /etc/ssl/private/ssl.key | |
| # Fetch the Root CA and Class 2 Intermediate Server CA certificates: | |
| wget http://www.startssl.com/certs/ca.pem | |
| wget http://www.startssl.com/certs/sub.class2.server.ca.pem | |
| # Create a unified certificate from your certificate and the CA certificates: | |
| cat ssl.crt sub.class1.server.ca.pem ca.pem > /etc/ssl/certs/ssl-unified.crt |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For reference, here's apparent StartCom Ltd OCSP responder url:
http://ocsp.startssl.com/sub/class2/server/ca