Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ismailyenigul/9077de5c423d13decdb41d65e8e65da7 to your computer and use it in GitHub Desktop.
Save ismailyenigul/9077de5c423d13decdb41d65e8e65da7 to your computer and use it in GitHub Desktop.

Configure AlphaSSL on nginx web server

1- Create CA bundle file

# cat yourdomain.crt intermadiate-cert.crt root.pem > /etc/ssl/ca-bundle.pem
  1. yourdomain.crt is the crt you got from SSL provider via email

  2. intermadiate-cert.crt is SHA-256 - Orders March 31, 2014 and After at https://www.alphassl.com/support/install-root-certificate.html

  3. root.pem from https://www.alphassl.com/support/roots/root.pem

2- Configure nginx conf like below

 ssl_certificate      /etc/ssl/ca-bundle.pem;
 ssl_certificate_key  /etc/ssl/star_mydomain.key ;
 

then restart nginx

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