Tell JVM that it should use both default and custom truststores?
843811Sep 24 2009 — edited Sep 29 2009Coming off [this question|http://forums.sun.com/thread.jspa?threadID=5408453] I have solved my problem by importing the entire cacerts keystore into my truststore along with the special certificates I need for SSL contacts with other remote servers.
But this feels like a bit of a hack. Rather than doing this, I'd like to be able to tell the JVM "use this truststore but also look at the default when you're making an SSL request". Is there some way to do this with keytool? Or is there some simple way to set this "policy" up in my code? If so, a code sample would be a big help.
Thanks.