20

I have a PFX file on my drive. I want to see the certificate chain for it. How do I see this? I am asking for a visual tool since I'm sure this won't be the last time I need to view certificate information, and I know of no tool that does this...

4

3 回答 3

27
certutil -dump filename.pfx

微软文档:http ://technet.microsoft.com/library/cc732443.aspx

虽然这是针对 Win 8 或 Server 2012。我的开发机器上有 Win 7 - 不确定该程序是默认存在还是随 Visual Studio 一起提供。

于 2013-11-05T17:27:14.593 回答
6

下面在cmd中也可以正常工作:

openssl pkcs12 -info -in证书路径

有关更多信息,请查看以下链接:

https://superuser.com/questions/580697/how-do-i-view-the-contents-of-a-pfx-file-on-windows/1212800

https://www.sslshopper.com/article-most-common-openssl-commands.html

如果遇到 openssl 问题,意味着如果未安装,请下载 openssl 并在 bin 中引用 openssl.exe 的路径而不是 openssl。

于 2018-05-31T02:36:01.893 回答
1

我认为这个问题更适合superuser。PFX 文件只是一个 pkcs12 文件,可以使用openssl pkcs12实用程序对其进行解析。试验选项以获得您正在寻找的输出。

于 2012-11-27T22:20:47.300 回答