How to use multiple SSL certificates in Java?

I have an application that simultaneously communicates with multiple hosts. In this case, I need to use several keystores to communicate with other hosts.

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

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

+1
java ssl system-properties
source share
1 answer

You can import multiple certificates into a single keystore. keytool

+1
source share

All Articles