Valid certificates, but still a red padlock

My website, is run on Google Cloud Platform by Bitnami’s Wordpress. I installed SSL by following this documentation. However, after the setup, when I go to my website by adding https in front of its url, I got a red padlock:

It says my certificate is invalid. However, when I check the detail, all my certificates are valid

Did I do anything wrong?

Kind regard.

Your certificate is valid for but that redirects to, which is not on the certificate. You should get a certificate that covers both names. To do that, following the tutorial you linked, when it says

sudo ./certbot-auto certonly --standalone -d DOMAIN

instead type:

sudo ./certbot-auto certonly --standalone -d -d

Hey, Thank you. Should I redo all the steps after that command? Or do I just run that single line of command?


Actually, on reading through that tutorial again… let me recommend a slightly different command:

sudo ./certbot-auto certonly --standalone -d -d --pre-hook "/opt/bitnami/ stop" --post-hook "/opt/bitnami/ start"

If I’m right, this should be the only thing you need to do at this point (other than setting up the renewal cron job, if you haven’t already).

1 Like

I got that green padlock!
Many thanks to you, sir!

Have a good day!

1 Like

Hi, I also have a side request.
Do you know to automatically convert to
Because when I do it without https, I don’t see the certified version. I have to manually add https to get that green padlock.

You need to add a redirect. Here’s Bitnami’s documentation for how to do that.

Job done. Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.