Can't find and delete old SSL certificate

Hi, I have a problem with the certificate. Now there are 2 Let's Encrypt certificates on my domain and one of them is expired (but the domain sometimes accesses it, so there are failures of secure https connection when visiting the site). Unfortunately, only one SSL certificate is displayed on the hosting - a valid one, and I can't find an expired one. Please tell me how to find and delete an expired certificate so that the site only accesses the new certificate? I found out about the expired certificate on ssllabs.com

My domain is: rp9.ru

I ran this command: β€”

It produced this output: β€”

My web server is (include version): server: nginx; x-powered-by:PHP/7.4.28

The operating system my web server runs on is (include version): Win 10 22H2

My hosting provider, if applicable, is: Reg.Ru Hosting

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

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): β€”

Hi @stnenka, and welcome to the LE community forum :slight_smile:

Which ACME client are you using?
Can you remove the expired certificate?
Have you rebooted?

5 Likes

From the topic title:

Can’t find and delete old SSL certificate

Guess that answers your question already :stuck_out_tongue:

6 Likes

Sorry but idk how to find out my ACME client. And no i cant remove old certificate besides, I don't even see it on the hosting, only in ssllabs.com.

I see that your alias is: Holmes, Sherlock Holmes
LOL

6 Likes

Can you show the picture of what you see in SSL Labs?
How did you get a certificate?
Where in the nginx config does it use the certificate?

5 Likes

image

5 Likes


I received the certificate automatically using Lets Encrypt on ISPmanager

We will need to see your nginx configuration.
Try showing the output of:
nginx -T

Aha! a Clue!

5 Likes

Sorry but im a begginer. Can u explain how to do it?

I don't use nginx on Windows... But, I presume something like:

open a command prompt
type:
nginx -T
[then press ENTER key]

5 Likes

How did you get a certificate? Is it just through a control panel of some sort, or you actually administrate the server itself?

If you only have control panel access, then you'd need to contact your hosting provider.

8 Likes

Doesn't sound very "shared".

6 Likes

The certificate was generated automatically on the hosting. I also applied to the hosting provider, they say that there are no problems

Suddenly It's not working

How much access/control do you have over the server?
[using the term "server" loosely, as it is a Win10 "PC"]
Can you reboot it?

5 Likes

What's "not working" ?

5 Likes

I'm starting to doubt this statement.
Is that your PC or the "server" OS?

The question is for the "web server" not the "web browser".

5 Likes

If the hosting does it all automatically, and you don't have access to like reboot the server or do other administrative tasks on it, then it's really all in the hands of your hosting provider.

6 Likes

Then show them the SSL Labs result.
Clearly, there are two certs being served:

  • one new
  • one old

Maybe they have some load-balancer in play.
Maybe the nginx has orphaned processes that just need to be restarted.

5 Likes