SSL Certificates for Google Cloud Platform for Bitnami Owncloud

Hi, I’m actually running a new web site on Google Cloud Platform. I deploy the Bitnami Owncloud package. Everything is running well but I’m not able to install my SSL Certificate. I bought an SSL certificates from Namecheap but I’m very confused because the documentation from Bitnami, Namecheap and Comodo are not the same. All the directives are different.

First what is supposed to be the name ot the certificates. For example if my domain name is «mydomain.com». In Bitnami docs you said to create the csr file using «cert.csr» name but in Namecheap the name must be the same as my domain name so I named it «mydomain.com.csr» and for the key I named it «mydomain.com.key». Comodo return me two files «mydomain_com.ca-bundle» and «mydomain_com.crt». They replace «.com» by «_com». Do I have to remane these files before copying it? What is the real name I’m suppose to use for each files?

Also I use HTTP validation so I download a text file from Namecheap in htdocs. How can I verify it’s ok?

Also how to know if port 443 is open, in Bitnami I didn’t find any documentation about opening 443 port.

I’m an experience programmer and I found the installation of a SSL certificate the most difficult task of my life because no clear documentation is available.

Anyone can help me?

Regards,

André

1 Like

I found the problem. I have to leave the name of the files receive from Comodo as is. And I need to modify the bitnami.conf file in /opt/bitnami/apache2/bitnami (not httpd.conf in apache2 directly) and change the name of SSL Certificate files at the lines SSLCertificateFile and SSLCertificateKeyFile to point to the new files. Don’t forget to restart apache using the specific function to do so in bitnami (not the same as plain Linux distro).

Regards,

André

1 Like

Hi @adcdao,

I’m glad you got it working! Thanks for sharing your solution, as I’m sure it will help others.

Don’t hesitate to come back if you have find any other issue.

Best regards,
Marcos

I’m trying to figure out the same thing. My domain is registered with GoDaddy, I am using Google Cloud, and got everything else working peachy in OwnCloud. Just trying to figure this out. Do you have any additional instructions?

Hi Tovis, my domains was registered using Google Domains but I think it doesn’t matter. I follow the instructions from Bitnami’s owncloud documentation (https://docs.bitnami.com/google/apps/owncloud/). I also obtain my SSL Certificates from NameCheap. There are many FAQ on their web sites very useful. Combining both documentation I was able to have my ownCloud instance running on https. Hope it will help you too.

Regards, André