java - 默认 Java keystore 包含哪些 key ?

标签 java

我了解默认的 Java Truststore 包含根证书和其他与信任相关的证书。但是,哪些 key 存储在默认的 Java keystore 中?据我所知, keystore 用于

which authentication credentials should be sent to the remote host for authentication during SSL handshake. if you are an SSL Server you will use private key during key exchange algorithm and send certificates corresponding to your public keys to client, this certificate is acquired from keyStore.

根据 http://javarevisited.blogspot.com/2012/09/difference-between-truststore-vs-keyStore-Java-SSL.html .我发现很难想出与 Java 环境捆绑在一起的通用 keystore 的用例。

最佳答案

I understand the default Java Truststore contains root certificates and other certs related to trust.

正确。

However, what keys are stored in the default Java keystore?

没有默认 Java keystore 。

I find it hard to come up with use cases for a general keystore bundled with the Java environment.

没有这种情况,也没有这样的 keystore 。

您的非规范链接中没有任何不同之处。

关于java - 默认 Java keystore 包含哪些 key ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30640969/

相关文章:

Java - 使用 ReentrantLock 异步运行作业?

java - 从布局看

java - hibernate的 "property-ref"元素标签中的 "one-to-one"属性有什么作用?

java - 如何比较 Java Byte[] 数组?

java - GridLayout 不会显示在网格中

java - 获取双变量函数的梯度

java - 提交时将表单字段转换为对象

Java 泛型 API 架构

使用 JNA 调用 Win32 WaitForSingleObject() 时,Java 计时器不运行

java - 在 JSON 对象中解析 JSON 数组