Skip to content

Instantly share code, notes, and snippets.

@emjayess
Created November 20, 2012 05:51
Show Gist options
  • Select an option

  • Save emjayess/4116283 to your computer and use it in GitHub Desktop.

Select an option

Save emjayess/4116283 to your computer and use it in GitHub Desktop.
Generate a StartCom Ltd Authorized unified ssl certificate for use in nginx
# 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
@emjayess
Copy link
Copy Markdown
Author

Original point of reference: http://www.startssl.com/?app=42

@emjayess
Copy link
Copy Markdown
Author

For reference, here's apparent StartCom Ltd OCSP responder url:
http://ocsp.startssl.com/sub/class2/server/ca

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment