46 Bytes
Check expiration date of a cert
cat client.crt | openssl x509 -noout -enddate
-
# or: openssl x509 -noout -enddate -in client.crt | sed -n 's/notAfter=\(.*$\)/\1/p'
Please
register
or
sign in
to comment
cat client.crt | openssl x509 -noout -enddate
# or:
openssl x509 -noout -enddate -in client.crt | sed -n 's/notAfter=\(.*$\)/\1/p'