I have a PFX certificate file on my machine and I'd like to view the details before importing it. (The import utility doesn't actually tell you what the certificate is!).
How do I view the details about the PFX certificate file?
Some options to view PFX file details:
certutil -dump <path to cert>
openssl pkcs12 -info -in <path to cert>
You can pipe the info to the openssl x509 utility and then export that out to a file like this:
openssl.exe pkcs12 -info -in c:\temp\cert.pfx | openssl.exe x509 -noout -text > c:\temp\cert.pfx.details.txt
You will be prompted for the certificate passwords too of course.