Useful commands for OpenSSL
Parsing a CRL: openssl crl -inform DER -text -noout -in mycrl.crl
Reading a PKCS12 file: openssl pkcs12 -info -in some_file.p12
openssl x509 -text -in some_file -inform pem
echo | openssl s_client -starttls=smtp -connect some_domain.tld:25 2>/dev/null | openssl x509 -text
openssl s_client -connect some_domain.tld:587 -starttls smtp
openssl s_client -showcerts -connect some_domain.tld:443 </dev/null
openssl s_client -showcerts -servername some_domain.tld -connect some_domain.tld:443 </dev/null