Verify acme certificates

Hi,
Is there a way to view the certificate valid period (ie. when a certificate expires)
It is included in the"certificate" content in the acme json file, but not human readable.
For https it is possible in browsers, but for not so easy for other protocols, therefore I would like to get the info in traefik dashboard.

Thanks,
Benny

If you want to see TLS expiration date (of any TCP connection) you can use this command on CLI:

echo | openssl s_client -showcerts -servername example.com -connect example.com:443 2>/dev/null | openssl x509 -noout -enddate

echo | openssl s_client -showcerts -servername example.com -connect example.com:443 2>/dev/null | openssl x509 -noout -enddate -subject -text

If your question is rather a feature request, then create a "Feature Request" on Traefik Github :slight_smile:

If your question is rather a feature request,

It's outside of the scope of Traefik.

But it can be a feature to my traefik-certs-dumper

1 Like

Thanks for both replies.
@bluepuma77 You answered my question.
@ldez Thank you for pointing me to traefik-certs-dumper, I have also been wondering how to convert from Traefik cert.json to PEM formats.

Why is this out of the scope of Traefik? - Couldn't it be relevant to let this be part of overview in Traefik?

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