How to check the private key
Using openssl command,
# openssl rsa -in myserver.key -check -noout RSA key okHow to check SSL certificate (*.crt format) using openssl command
Using openssl command
# openssl x509 -in myserver.crt -text -noout | moreTo get only the validity dates
# openssl x509 -in myserver.crt -text -noout | grep "Not" Not Before: Apr 24 14:35:54 2010 GMT Not After : Jul 27 04:17:47 2011 GMTHow to check SSL certificate (*.cer format)
Using openssl command,
# openssl x509 -inform der -in myserver.cer -text | moreTo get only the validity dates,
# openssl x509 -inform der -in myserver.cer -text | grep "Not" Not Before: Nov 14 05:44:26 2008 GMT Not After : Nov 14 05:54:26 2010 GMT
No comments:
Post a Comment