Broker 10.5 | webMethods Broker Documentation | Administering webMethods Broker | Managing Certificate Files with OpenSSL | Managing Certificate Files | Viewing a Certificate in a PEM File
 
Viewing a Certificate in a PEM File
The following command allows you to dump the entire certificate in a readable format:
openssl x509 -in <afile>.pem -text -noout
You can also select which parts of the certificate to view, for example:
openssl x509 -in <afile>.pem -subject -noout
openssl x509 -in <afile>.pem -issuer -noout
openssl x509 -in <afile>.pem -dates -noout
By default, the file is assumed to be in PEM format. If the file is in DER format, you can specify the following:
-inform DER