Replacing the certificate for Apache (used for adaptive streaming)


NOTE: Apache certificates can also be uploaded via General settings | Advanced


Apache 2.4 is installed in c:\apache24 folder. The certificate is installed in c:\apache24\conf\ssl


The configuration of the Apache certificates depends on your certificate supplier. The sample below is based on Godaddy certificates.


Godaddy normally supplies 2 crt files. One is the actual certificate. The other one (gd_bundle-g2-g1.crt) is the intermedia certificate. Besides the certificate files you also need the key file that contains the private key. You can encrypt the private key but then you will need a mechanism to uncrypt it during startup of apache. This means you will have to store the password somewhere on the filesystem. We will not discuss that mechanism and restrict to unencrypted private key file.


  • Store the certificate files in the folder c:\apache24\conf\ssl.
  • If you rename the files to the same filenames as the old certificate, you will not have to modify the Apache configuration files.


If you need to modify the configuration file, you will find those in c:\apache24\conf\extra. The file httpd-ssl.conf is used to configure the ssl certificate. Typically, the following configuration lines are used to define the certificate:


SSLCertificateFile "C:/Apache24/conf/ssl/server.crt"


  • The certificate

SSLCertificateKeyFile "C:/Apache24/conf/ssl/server.key"


       The private key


SSLCACertificateFile "/Apache24/conf/ssl/gd_bundle-g2-g1.crt"


  • The intermedia certificate

After you replaced the certificate, restart apache from the services management console or from command prompt with c:\apache24\bin\httpd -k restart