Back to Top

SSL Certificates installation on BITNAMI Server

Updated 15 May 2015


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. So first of all let it be familiar with the bitnami directory structure.


[stextbox id=”info”]Apache configuration file location -: /opt/bitnami/apache2/conf/bitnami/bitnami.conf[/stextbox]

[stextbox id=”info”] Certificate file location -: /opt/bitnami/apache2/conf/server.crt[/stextbox]

Start your headless eCommerce
Find out More

[stextbox id=”info”]Certificate key file -: /opt/bitnami/apache2/conf/server.key[/stextbox]

[stextbox id=”info”]CA certificate bundle file -: /opt/bitnami/apache2/conf/server-ca.crt[/stextbox]

[stextbox id=”info”]Command to restart apache server -: sudo /opt/bitnami/ restart apache[/stextbox]


SSL Certificates Generation Process

1 – Generate the “csr file” and “private key file” by executing  following command on your bitnami cloud hosting server.

[stextbox id=”grey”]openssl req -new -newkey rsa:2048 -nodes -keyout sslcertificateprivate.key -out server.csr[/stextbox]

2 – Now submit the csr file to the ssl certificate providers (example-: Namecheap) and follow the instructions accordingly to activate your ssl certificates (these steps totally depends on ssl certificate provider).

3 – After ssl certificate activation process they will provide you a zip file containing ssl certificate and CA Certificate bundle file.


SSL Certificates Activation Process.

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

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.

[stextbox id=”info”]SSLCertificateFile /opt/bitnami/apache2/conf/sslcertificatefile.crt[/stextbox]

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

[stextbox id=”info”]SSLCertificateKeyFile /opt/bitnami/apache2/conf/sslcertificateprivate.key[/stextbox]

[stextbox id=”info”]SSLCACertificateFile /opt/bitnami/apache2/conf/cacertificatebundle.crt[/stextbox]

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

[stextbox id=”grey”]sudo /opt/bitnami/ restart[/stextbox]

[stextbox id=”warning”]Congratulations you are done, you can check your ssl certificates authenticity and security on[/stextbox]



. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home