Today in this blog I will let you know about how to install the ssl certificates on your bitnami cloud hosting server. As we know in bitnami cloud hosting server the configuration files and there path are bit different as compared to normal ubuntu server. 

the bitnami directory structure are like -

Apache configuration file location -: "/opt/bitnami/apache2/conf/bitnami/bitnami.conf"

Certificate file location -: "/opt/bitnami/apache2/conf/server.crt"

Certificate key file -: "/opt/bitnami/apache2/conf/server.key"

CA certificate bundle file -: /opt/bitnami/apache2/conf/server-ca.crt

Command to restart apache server -: sudo /opt/bitnami/ restart apache

Lets start SSL Certificates Activation Process ==>

Step 1 – Copy your ssl certificate file, SSL Certificate private key file and CA certificate bundle file to the  /opt/bitnami/apache2/conf/ directory.

Step 2 – Now open the apache configuration file located at /opt/bitnami/apache2/conf/bitnami/bitnami.conf and find for “SSLCertificateFile” and replace the certificate file path with your purchased certificate path.

SSLCertificateFile /opt/bitnami/apache2/conf/sslcertificatefile.crt

Step 3 – Now again find for SSLCertificateKeyFile and SSLCACertificateFile and replace the key and certificate file path with your purchased one.

SSLCertificateKeyFile /opt/bitnami/apache2/conf/sslcertificateprivate.key

SSLCACertificateFile /opt/bitnami/apache2/conf/cacertificatebundle.crt

###OR SSLCertificateChainFile "/opt/bitnami/apache2/conf/ssl/my_bundle.crt"  [ Check apache version for SSLCertificateChainFile or SSLCACertificateFile]

Step 4 – After changing the path of SSL certificates and key restart your apache server with the following command

sudo /opt/bitnami/ restart

Done. Congratulations you are done, you can check your ssl certificates authenticity and security on