This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to work with self-signed certificate with jax-ws  RSS feed

Navneet Singh
Posts: 29
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm able to check the authentication with jax-ws 2.0 when hitting on "localhost". I've created a certificate with cn=localhost and able to run my jax-ws client (no problem at all). But, when i'm creating with other than localhost (i.e cn=somedomain). I'm not able to connect to the web service and exception as : "https hostname is wrong it should be <somedomain> "
Does anyone help me out. I'm using netbeans 5.5,jax-ws 2.0,tomcat 5.5.
it's not working with other than localhost, when creating self-signed certificate. Any idea ??

in advance thanks...
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!