Examine certificate file (.p7b)

To examine a signed certificate file in p7b format enter the following:

openssl pkcs7 -in certificate.p7b -text -print_certs