• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question Which domain uses a specific SSL/TLS Certificates

Mike73d

New Pleskian
Hi to all, there is a way to view which domain uses a specific SSL/TLS Certificates. I need to delete a certificate that is assigned to 2 domains, and I would not check one by one of the 50 domains I manage.

My configuration: Plesk Onyx Version 17.5.3 Update #28

Thanks Michele

DeleteSSLCert.JPG
 
You can use following command for getting list of all ceritificates with related domain name:

# plesk db "select c.id, c.name, d.name from certificates c left join Repository r on (c.id = r.component_id) left join domains d on (r.rep_id = d.cert_rep_id) where r.rep_id not in (select val from misc where param = 'cert_rep_id')"
 
Back
Top