How do I Use “Multiple” SSL certificates in Java?

别来无恙 提交于 2019-12-08 05:52:14

问题


I have an application that communicate with multiple hosts at the same time. In this case I need to use multiple keystores to establish communication with other hosts.

In this case setting the system property "javax.net.ssl.keyStore" is problematic. I found an earlier post that discusses the problem well.

Then what would be the best approach to resolve this problem?


回答1:


You can import multiple certificates into a single keystore. keytool



来源:https://stackoverflow.com/questions/759603/how-do-i-use-multiple-ssl-certificates-in-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!