trustAnchors parameter must be non-empty Error Message

You are here

trustAnchors parameter must be non-empty Error Message

4 posts / 0 new
Last post
jhdeval
jhdeval's picture
trustAnchors parameter must be non-empty Error Message

I am communicating with a trading partner using AS2 Version 1.2 and reporting to use mendelson AS2 Server 2015 build 200. When I send a file to them I receive the following error message. I can not find trustAnchors anywhere with the AS2 directory.

MessageHTTPUploader.performUpload: [SSLException]: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

service
service's picture

These are error messages from the standard java lib, please just enter them into google for further information.

https://stackoverflow.com/questions/8378235/javax-net-ssl-sslexception-j...

https://stackoverflow.com/questions/6633164/got-java-security-invalidalg...

--> looks like a config error in the jetty.xml

Regards

jhdeval
jhdeval's picture

I did not receive this message b47 the error started in b49. The only thing I changed in Jetty was the default port to 8083. The error doesnt make sense to me.

service
service's picture

Hello,

I googled it again and the reason seems to be this:

The JVM cannot find the javax.net.ssl.trustStore required for SSL, or it does not contain the required certificates. Means it is either a configuration problem in the jetty.xml or you did not add the required certificates to the SSL keystore.

Regards