我想列出存储在PKCS12密钥库中的证书。
密钥库的扩展名为.pfx
发布于 2020-07-11 20:04:53
您可以使用keytool列出条目(证书详细信息),甚至不需要提及存储类型。此外,.p12和.pfx都是PKCS#12文件。假设您有密钥库文件cert.pfx或cert.p12,然后可以使用以下命令列出内容。
keytool -list -v -keystore cert.pfx -storepass <password>或
keytool -list -v -keystore cert.p12 -storepass <password>
Keystore type: PKCS12
Keystore provider: SunJSSE
Your keystore contains 1 entry
Alias name: 1
Creation date: Jul 11, 2020
Entry type: PrivateKeyEntry
Certificate chain length: 2https://stackoverflow.com/questions/14375235
复制相似问题