openssl x509 -in filename.crt -noout -text
Where filename corresponds to the X.509 certificate file, which typically would end in .crt, .cert or .pem.
See also: man x509
openssl crl -in filename -noout -text
Where filename corresponds to the CRL file, which typically would end in .crl or .pem
See also: man crl
openssl x509 -out exported-pem.crt -outform pem -text -in derfile.crt -inform der
See also: man x509
openssl x509 -hash -noout -in certfile.pem
See also: man x509
openssl s_client -connect test.smtp.org:25 -starttls smtp -showcerts
Note: only support in newer versions of openssl (check man page for -starttls option)
See also: man s_client
For further assistance, visit the Credentia
crypto forums
and pose your question there.
Or, if you need immediate help with SSL, PKI, x509 , consider custom consulting from Credentia.
If I was helpful, please let me know !
$Id: openssl-usage-tips.html,v 1.2 2005/11/12 16:35:13 mdf Exp $