Re: ssl and host name not match

2011-07-18 Thread AngeloChen
i opted for #3 and it works, thanks. awarnier wrote: > > AngeloChen wrote: >> Hi, >> >> I got a virtual host: >> >> > unpackWARs="true" autoDeploy="true" >> xmlValidation="false" xmlNamespaceAware="false" > >> sample.com >> ... >> >> f

Re: ssl and host name not match

2011-07-18 Thread André Warnier
AngeloChen wrote: Hi, I got a virtual host: sample.com ... for some reason, the jks in the tomcat is for sample.com, when calling this server with httpclient, it always get: javax.net.ssl.SSLException: hostname in certificate didn't match: != even there is an alias sample.com. a