Seeking assistance with certificate name mismatch

Hello having issues with my website showing connection as insecure and ssl labs results there’s a certificate name mismatch.

i used google cloud openlitespeed option to create a wordpress website

My domain is:

I ran this command:
follwed the steps here
sudo certbot certonly --webroot

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for
http-01 challenge for
Using the webroot path /var/www/html for all unmatched domains.
Waiting for verification…
Cleaning up challenges

  • Congratulations! Your certificate and chain have been saved at:
    Your key file has been saved at:
    Your cert will expire on 2020-07-21. To obtain a new or tweaked
    version of this certificate in the future, simply run certbot
    again. To non-interactively renew all of your certificates, run
    “certbot renew”
  • If you like Certbot, please consider supporting our work by:
    Donating to ISRG / Let’s Encrypt:
    Donating to EFF:

My web server is (include version): unsure

The operating system my web server runs on is (include version): Ubuntu 18.04.4 LTS

My hosting provider, if applicable, is: google cloud

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): unknown

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): 0.31.0

sudo certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Found the following certs:
Certificate Name:
Expiry Date: 2020-07-21 18:11:13+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/
Private Key Path: /etc/letsencrypt/live/

1 Like

Hi @laidbacka

certonly doesn't install the certificate.

But I don't know how that openlitespeed works.

Check the documentation of that webserver to find the lines of the self signed certificate.

Then change these, so your

is used and restart your webserver.

1 Like

Okay thank you! now i have a valid certificate issued by Lets Encrypt Authority X3

However, it is still showing as not secure

1 Like

sorry that was the last line of code

before it is this one

sudo apt-get install certbot

and this is the result

Reading package lists... Done
Building dependency tree
Reading state information... Done
certbot is already the newest version (0.31.0-1+ubuntu18.04.1+certbot+1).
The following packages were automatically installed and are no longer required:
grub-pc-bin libnuma1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.

1 Like

That’s only the Certbot installation.

Not the certificate installation.

1 Like

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