Saturday, 14 September 2013

java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

java.security.InvalidAlgorithmParameterException: the trustAnchors
parameter must be non-empty

net.ssl.SSLException: java.lang.RuntimeException: Unexpected error:
java.security.InvalidAlgorithmParameterException: the trustAnchors
parameter must be non-empty" error on my ARM device with a linux and
openjdk when my application tries to connect to an SSL service as a
client. I've tried a lot of things and nothing worked. If i add path
cacert thing as a parameter, then it always writes that it's invalid. I've
created a new keystore, but of course that is invalid too...

No comments:

Post a Comment