Home trustAnchors parameter must be non-empty
Reply: 0

trustAnchors parameter must be non-empty

user8327 Published in September 20, 2018, 10:22 pm

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...


share|improve this question
  • 1
    possible duplicate of Error - trustAnchors parameter must be non-empty – user207421 May 5 '14 at 22:30
  • yes, I already read this too – lcssanches May 6 '14 at 11:47
  • Well it contains the answer, which makes this question redundant. – user207421 May 6 '14 at 12:13
  • ok, don't worry – lcssanches May 7 '14 at 14:50

1 Answer 1

active oldest votes
up vote 0 down vote
You need to login account before you can post.

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

© 2016 Powered by mzan.com design MATCHINFO