You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "PARLEY,THUNDER (HP-MountainView,ex1)" <th...@hp.com> on 2004/01/08 19:26:17 UTC

RE: how to force wsdl2java to accept certificate with false host name

Hi Seref,

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

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

--Thunder



-----Original Message-----
From: Seref Arikan [mailto:sarikan@tepeteknoloji.com.tr]
Sent: Thursday, January 08, 2004 12:34 AM
To: axis-user@ws.apache.org
Subject: how to force wsdl2java to accept certificate with false host
name


hi, 
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 asp.net, 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..