IDEA I/O home  | cheat sheets  | github

Cheatsheet OpenSSL

openssl pkcs7 -in smime.p7s -inform DER -print_certs`
openssl s_client -connect 172.16.0.129:443 2>&1 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'
openssl x509 -text -in servercert.pem
$ openssl x509 -noout -in /etc/ssl/server.crt -hash
$ openssl verify /etc/ssl/server.crt