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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to