[quote=jungicz]Sorry, I don't know what is exactly wrong here but google
pointed me to stackoverflow.com [1]. From that it looks more like OpenJDK (or
linux) issue. HTH.[/quote] Thank you jungicz but that is a different sitation
where the default trust store is not available. In my case I am providing the
truststore. It did point me in the right the direction though. I think I have
now solved the GlassFish3/JDK7 truststore issue. It turns out that
System.setProperty("javax.net.ssl.trustStore") does not take affect instead
setting up a socket factory and using
HttpsURLConnection.setDefaultSSLSocketFactory(factory) works also with
GlassFish3/JDK7.
[1]
http://stackoverflow.com/questions/4764611/java-security-invalidalgorithmparameterexception-the-trustanchors-parameter-mus
--
[Message sent by forum member 'netmackan']
View Post: http://forums.java.net/node/896209