• Post Reply Bookmark Topic Watch Topic
  • New Topic

Matual Authentication error  RSS feed

tarek helmy
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have to appliactions (P2P) and the first has a web service that need a certificate for authentication and the second application is web service clientand the two appliactions deployed at Glassfish v2.1

i configured the webservice to accept Matual Authentication (certificates) using JAX-WS,WS-Security by metro project

but when i try to call the web service from the second application that sends it's certificate i got this error

WSP1049: Loaded WSIT configuration from file: file:/D:/work/NetBeansProjects/bsdemo/build/web/WEB-INF/classes/META-INF/wsit-client.xml
WSS0223: Certificate validation failed
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)

any help will be appreciated.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!