Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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.
Another possibility: using SigCheck utility, as mentioned in Microsoft's Clickonce docs (the docs mention examining a .manifest file, but it works on a .pfx file as well).
Outputs looks like:
Required, but never shown