openssl pem dump code example Example 1: openssl view certificate openssl x509 -in certificate.crt -text -noout Example 2: openssl x509 certificate openssl x509