信任库中哪些证书受信任?
我不太了解密钥库/信任库术语,但就我而言,信任库保存对等服务器信任的证书。
来查看密钥库的内容
keytool -list -keystore refArchive/testkeystore
Enter keystore password: password
我可以使用信任库是否有任何等效项 ?如何查看受信任的证书?
谢谢!
I do not know very well keystore / truststore lingo but as far as I'm concerned, a truststore keeps the certificates trusted by a peer server.
I can view the content of a keystore using
keytool -list -keystore refArchive/testkeystore
Enter keystore password: password
Is there any equivalent for the truststore? How can I view the trusted certificates?
thx!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
信任存储通常(实际上应该只包含根 CA,但通常违反此规则)包含根 CA(公共 CA 或私有 CA)。您可以使用以下命令验证信任存储中的证书列表
Trust store generally (actually should only contain root CAs but this rule is violated in general) contains the certificates that of the root CAs (public CAs or private CAs). You can verify the list of certs in trust store using
是的,有。完全相同的命令,因为密钥库和信任库的不同仅在于它们存储的内容,即私钥或签名的公钥(证书)
没有其他区别
Yes there is.The exact same command since keystore and truststore differ only in what they store i.e. private key or signed public key (certificate)
No other difference