问题
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