• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Unable to delete "default certificate"

Status
Not open for further replies.

Olga_Mataev

New Pleskian
Hi,

My default certificate expired recently. I created a new certificate "default certificate 2".

I used this certificate for "Secure the Panel"
I went to "Tools and Settings" -> "IP addresses" and made this certificate the default for all the IPs.
On the page "Tools and Settings" -> "SSL certificates", it says Used: 0 next to "default certificate".
But when I try to delete it, it tells me: "Error: Unable to remove certificates: one or several certificates are assigned to the IP addresses/domains."

Could you please tell me what I missed? Is there anywhere I can check where this certificate is still used?
 
I did see that article in the KB.

It says:
In order to remove the certificate, it should be detached from the domain first:

Since this is the default server certificate, which domain does it mean? Can I get a list of domains using the certificate from the database?
 
I figured it out!

I went into the psa database in MySQL.

select id, name from certificates;

This told me that "default certificate" has id 2.
Then I checked the following:

select dom_id from hosting where certificate_id=2;
Empty Set

select certificate_id from subdomains where certificate_id=2;
Empty Set

select ssl_certificate_id from IP_Addresses where ssl_certificate_id=2;
One result! Bingo! It looks like I missed one of the IPs before (there are 19 on the server, so it's very possible).

I went back to the control panel, changed the default certificate for this IP and tried to delete the SSL certificate again. It worked!
 
Status
Not open for further replies.
Back
Top