tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AngeloChen <angelochen...@gmail.com>
Subject ssl and host name not match
Date Mon, 18 Jul 2011 09:44:27 GMT

Hi,

I got a virtual host:

<Host name="www.sample.com"    appBase="sampleapps"
                        unpackWARs="true" autoDeploy="true"
                        xmlValidation="false" xmlNamespaceAware="false" >
         <Alias>sample.com</Alias>
...

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:
<www.sample.com> != <sample.com>

even there is an alias sample.com.

any fix on this? Thanks,

Angelo

-- 
View this message in context: http://old.nabble.com/ssl-and-host-name-not-match-tp32081887p32081887.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message