Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I see all domains in my SSL certificate made by Certbot?

Tags:

certbot

I created a multi domain certificate and forget the domains I included in it. How can I see them? How can I get this list?

so far I only find a way of how to get the expiration date

$ sudo openssl x509 -noout -dates -in /opt/blah-blah/apache2/conf/server.crt
like image 672
Yevgeniy Afanasyev Avatar asked Dec 06 '19 03:12

Yevgeniy Afanasyev


People also ask

How do I view the contents of a SSL certificate?

Another simple way to view the information in a certificate on a Windows machine is to just double-click the certificate file. You can use this certificate viewer by simply pasting the text of your certificate into the box below and the Certificate Decoder will do the rest.

Where are SSL certificates stored Certbot?

Find the SSL Certificate All generated keys and issued certificates can be found in /etc/letsencrypt/live/${domain} .


1 Answers

found it. The command that lists all certificates and a list of domains for each of them.

$ sudo certbot certificates
like image 195
Yevgeniy Afanasyev Avatar answered Oct 17 '22 05:10

Yevgeniy Afanasyev