More than 1 certificate

I run command

sudo certbot certificates

and there are more than 1 certificate

Found the following certs:
Certificate Name: website.com-0001
Domains: website.com
Expiry Date: 2017-10-17 11:17:00+00:00 (VALID: 80 days)
Certificate Path: /etc/letsencrypt/live/website.com-0001/fullchain.pem
Private Key Path: /etc/letsencrypt/live/website.com-0001/privkey.pem
Certificate Name: website.com
Domains: website.com www.website.com
Expiry Date: 2017-08-17 23:21:00+00:00 (VALID: 19 days)
Certificate Path: /etc/letsencrypt/live/website.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/website.com/privkey.pem
Certificate Name: www.website.com
Domains: www.website.com
Expiry Date: 2017-08-17 23:21:00+00:00 (VALID: 19 days)
Certificate Path: /etc/letsencrypt/live/www.website.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/www.website.com/privkey.pem

How do I know which cert my website is using? Should I remove the unused certs?

How do I know which cert my website is using?

That’s what web configuration files tell you.

Alternatively you can use openssl to figure out the thumbprint of the certificate and check it that way.

Andrei

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