Installed new certificate but old test SSL certificate is used

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

It produced this output: It takes old SSL certificate, which I generated locally, so browser gives warning message. It is not taking Lets encrypt certificate

My web server is (include version): Apache/2.4.29 (Ubuntu)

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

My hosting provider, if applicable, is:siteground

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): No

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

1 Like

Hi @rknmag

checking your domain with my browser all looks good.

May be only a cache problem. Or check your website with online tools to see, if there are additional problems.


Thanks, If I use it works. But If I use , browser following warning:

Firefox does not trust this site because it uses a certificate that is not valid for The certificate is only valid for

1 Like

Then create one certificate with both domain names - non-www and www.


Thanks for your suggestion, as you mentioned, I have expanded my current certificate to include www domain also ( using sudo certbot --expand -d, ) . Now I am able to use both the URL.

Thanks a lot for your help

1 Like

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