Unable to successfully install GoDaddy SSL Certificate to Bitnami>Apache v2.4.23

apache-2.4bitnamigodaddyssl-certificate

I successfully created a CSR and downloaded the Apache SSL Certificates from Go Daddy. I received "257c0515593b569.crt" & "gd_bundle-g2-g1.crt". I've rigorously searched and tried finding a solution to installing the new SSL Certificates, however no luck as https still displays the warning message.

Both GD certificates are now at "bitnami/apache2/conf/" where the self-made server.csr, server.key & cert.csr. I tried copy&pasting the GD onto these, apache would not restart successfully. I tried the below:

conf/bitnami/Bitnami.conf
SSLCertificateFile "/opt/bitnami/apache2/conf/257c0515593b569.crt"
SSLCertificateKeyFile "/opt/bitnami/apache2/conf/gd_bundle-g2-g1.crt"

And again no successful restart.

How am I to remove the old and successfully replace it with you new? Any help please…

—EDIT— VH default settings as found in httpd-ssl.conf file

<VirtualHost _default_:443>
SSLEngine on

SSLCertificateFile "/opt/bitnami/apache2/conf/server.crt"

SSLCertificateKeyFile "/opt/bitnami/apache2/conf/server.key"

SSLCertificateChainFile "/opt/bitnami/apache2/conf/server-ca.crt"

SSLCACertificatePath "/opt/bitnami/apache2/conf/ssl.crt"
SSLCACertificateFile "/opt/bitnami/apache2/conf/ssl.crt/ca-bundle.crt"

Best Answer

It looks like you have it misconfigured.

See https://stackoverflow.com/questions/4814851/why-is-sslcertificatekeyfile-needed-for-apache

You should put the private key in a file that is listed out by SSLCertificateKeyFile. server.key is the private key, don't overwrite it.