Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
creating_valid_startssl_certificates [26.07.2015 09:04] – Pascal Suter | creating_valid_startssl_certificates [27.10.2016 17:31] (current) – Pascal Suter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Creating Validated | + | ====== Creating Validated |
this is just a bunch of steps i can't seem to remember each time i need a new certificate.. so i write it down in here :) | this is just a bunch of steps i can't seem to remember each time i need a new certificate.. so i write it down in here :) | ||
- | first of all you need to create a user account at startssl.com and download and install | + | I used to use startssl.com |
- | now you need to run the validations vizard and validate your ownership of the domain you need a certificate for | + | with most providers of simple domain verification certificates, |
===== SSL Certificate ===== | ===== SSL Certificate ===== | ||
Line 24: | Line 24: | ||
then paste the certificate and hit return and then ctrl+D | then paste the certificate and hit return and then ctrl+D | ||
- | now download the [[http:// | + | For StartSSL, |
+ | cat COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt >> bundle.crt | ||
last but not least you need to make sure your apache ssl config is pointing to those files. make sure you have these lines in your virtual host configuration to enable and configure ssl for your site. of course you need to make sure the paths match your setup :) | last but not least you need to make sure your apache ssl config is pointing to those files. make sure you have these lines in your virtual host configuration to enable and configure ssl for your site. of course you need to make sure the paths match your setup :) | ||
Line 33: | Line 34: | ||
SSLCertificateFile | SSLCertificateFile | ||
SSLCertificateKeyFile / | SSLCertificateKeyFile / | ||
- | SSLCertificateChainFile / | ||
</ | </ | ||
+ | if you have a pem file add this line as well: | ||
+ | SSLCertificateChainFile / | ||
+ | if you had to compile your package like shown above, you can use this line | ||
+ | SSLCACertificateFile "/ | ||
+ | |||
now **reload apache** | now **reload apache** |