Skip to content

Instantly share code, notes, and snippets.

View advantechralph's full-sized avatar

Ralph Wang advantechralph

  • Taiwan/Taipei
View GitHub Profile
@advantechralph
advantechralph / a_openssl_command_playground.md
Created December 7, 2020 07:36 — forked from rustymagnet3000/a_openssl_command_playground.md
openSSL verify certificates s_client capath public keys Print Certificates c_rehash key pairs

OpenSSL Playground

Certificates

Print Certificate ( crt file )

openssl x509 -in stackexchangecom.crt -text -noout

Print Certificate ( pem file )

openssl x509 -in cert.pem -text -noout

Print Certificate ( cer file )

openssl x509 -inform der -in foobar.cer -noout -text

Read part of Certificate