Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Navneet Singh
Greenhorn
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