Wednesday, January 7, 2015

How to show a certificate

To show a certificate,

you can use the following command:

openssl x509 -in cacert.pem -noout -text

The meanings of the options are as follows:

       -in filename
           This specifies the input filename to read a certificate
           from or standard input if this option is not specified.

       -noout
           this option prevents output of the encoded version of the
           request.

       -text
           prints out the certificate in text form. Full details are
           output including the public key, signature algorithms,
           issuer and subject names, serial number any extensions
           present and any trust settings.

No comments:

Post a Comment