DEV Community

Discussion on: If installing SSL certificate on an Nginx webserver - don't forget this step

Collapse
 
moyarich profile image
Moya Richards

Do you use the Apache webserver?

In apache we used to able to use a separate directive SSLCertificateChainFile for the bundle file, but SSLCertificateChainFile is depreciated now.

The SSLCertificateFile directive has been extended to also load the server certificate file plus the intermediate CA certificates


on Windows use the command below to create a PEM format file containing the SSL certificate and the certification chain

copy ssl_certificate.crt + IntermediateCA.crt certbundle.pem /b

In the apache web server virtual host file for SSL add:

SSLCertificateFile "c:/Apache24/conf/ssl/2020/certbundle.pem"

Do not use: --------------------

  • SSLCertificateFile "c:/Apache24/conf/ssl/2020/ssl_certificate.crt"
  • SSLCACertificateFile "c:/Apache24/conf/ssl/2020/IntermediateCA.crt"