axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PARLEY,THUNDER (HP-MountainView,ex1)" <>
Subject RE: how to force wsdl2java to accept certificate with false host name
Date Thu, 08 Jan 2004 18:26:17 GMT
Hi Seref,

Don't make it too difficult to do...

Just copy the online wsdl to a local file and run WSDL2Java against that :-)


-----Original Message-----
From: Seref Arikan []
Sent: Thursday, January 08, 2004 12:34 AM
Subject: how to force wsdl2java to accept certificate with false host

i am using an exported certificate from a production server, in my
development environment. Using Internet explorer, i get a warning in the
first page i've visited saying the host name of sertificate does not match
with the server, which is true  However, IE provides me option to accept it
as trusted. 
When generating the stub from wsdl page hosted in, i am using the
keystore, which i've exported from my development machine. And wsdl to java
complains about hostname being wrong. When i look at the certificate i've
exported from my machine, i see the CN value pointing to the original server
as normal. 
So, how can i force wsdl2java to trust this certificate with wrong hostname,
like IE does. I am doing this, since i don't want to mess with production
server, and keep developing in my own environment. 
Best Regards..

View raw message