Home trustAnchors parameter must be non-empty
Reply: 1

trustAnchors parameter must be non-empty

lcssanches Published in 2014-05-05 17:01:27Z

trustAnchors parameter must be non-empty

I'm trying to find the solution for this exception over a week, but I can't.

I'm running a JBoss 7.0.13 (let's call as APP-SV|app.my.site.com), and what I need is to comunicate to with another JBoss 7.0.13 (this is "WS-SV"|webservice.my.site.com). Both are Windows Server 2003.

APP-SV consumes webservice (this JBoss is running as HTTPS ) WS-SV expose the services (this JBoss is also running as HTTPS, with the same certificate which APP-SV use (a wildcard *.my.site.com)

From the APP-SV I can't execute the webservice. It's show "trustAnchors parameter must be non-empty". Out of JBoss (.Net app and one Java Class) I could execute with success the webservice.

The keystore configuration (standalone.xml) is:

<connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true">
    <ssl name="ssl" key-alias="tomcat" password="123456" certificate-key-file="..\\standalone\\configuration\\.keystore" protocol="TLSv1"/>

1 - The keystore exists? YES

2 - The password is correct? YES

3 - Have permission? YES

4 - "cacerts" exists and have certs? YES, and it's non-empty

What else you try?

I tried

  • create another keystore - fail
  • change the directory of keystore - fail
  • use java code System.setProperty to change keystore and password - fail

Nothing work.

I don't know what else I can do. With these repeated failures, I'm not sure that these couple of things I did, is "the thing" I need to do. Maybe I cannot see some details...

Sorry for any typo or grammatical error...


Ed Sandoval
Ed Sandoval Reply to 2017-01-13 17:50:15Z

This usually means that where ever you are indicating the path to the keystore, it is an incorrect path. Basically, it can't even find the file to try and open it.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.301119 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO