Public
Authored by Florin Buzec

Check expiration date of a cert

cat client.crt | openssl x509 -noout -enddate

Edited
46 Bytes
  • # or:
    openssl x509 -noout -enddate -in client.crt | sed -n 's/notAfter=\(.*$\)/\1/p'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment