So in my last article, I have talked about ‘How to install a free or open source SSL certificate to your website. Now we will talk about ‘How to install a paid SSL certificate to your bitnami wordpress blog ?’
For this tutorial, I am using a SSL certificate given by my domain registrar while registering the domain. So I generally register my domain names with ionos.com. This provides me one year .com registration only for $16 with an inclusive premium SSL certificate and with absolutely no head ache like other registrars. Of course, you can do this with other registrars also. But here I am showing you the steps required to install premium SSL certificate given by ionos with your domain purchase.
Step by step guide to install SSL certificate
- Once you purchase the domain, you will land up in dashboard and it will look like below.
- Click on the red lock just against your domain name. You will see a screen like below.
- Click on ‘Activate Now’ button, you see in the first column. You will see a screen like below.
- Just write your domain name here and under ‘Change usage’, select ‘Use with my own server’.
- Once you click on the button, you will see a pop up asking for downloading a private key. Just click on ‘Download Private Key’ like below.
- After this, you are redirected to the below screen which is SSL Certificate Management Dashboard.
- Click on the domain link in the first column. It will show the certificate settings and under which you will find ‘Advance Settings’ like below.
- Download the ‘SSL Certificate’ and ‘Intermediate Certificate’.
- You have three files now downloaded from ionos. Private key, SSL Certificate and Intermediate Certificate.
- Change their names to server_private.key, server_ssl.cer and server_intermediate.cer respectively.
- Upload them all at /stack/apache2/conf/ (With Codeanywhere) or /opt/bitnami/apache2/conf/ (With WinSCP).
- Uploading is very simple in both the platforms.
- Now locate /stack/apache2/conf/bitnami/bitnami.conf (With Codeanywhere) or /opt/bitnami/apache2/conf/bitnami/bitnami.conf (With WinSCP).
- In this file, you will find below code under <VirtualHost_default_:443> block.
SSLCertificateFile "/opt/bitnami/apache2/conf/server.crt"Replace it with below code.
- You may run into permission issues after doing all this. Just one more command at terminal will give permission of accessing wp-config.php to ‘bitnami’ user which belongs to ‘daemon’ group.
sudo chown -R bitnami:daemon /opt/bitnami/apps/wordpress/htdocs
- Just Restart the apache server from terminal by following command.
sudo /opt/bitnami/ctlscript.sh restart apache
That’s all. You are good to go now. Your website is now secured with a SSL certificate. If you have any issues after following the above article, please do let me know in the comment section.
Aside from being an engineer, I am a software developer, an enthusiastic musician, a regular reader and a hobbyist writer. I love traveling, exploring new places and, of course, playing games (all sorts).