Re: ssl and host name not match

2011-07-18 Thread AngeloChen
Because of the Alias, > the Tomcat > virtual host will be the same, and it will return a certficate for > "sample.com", so the > client will be happy too. > b) use a wildcard certificate for "*.sample.com" > c) change the certificate to be for "www.sample.c

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

ssl and host name not match

2011-07-18 Thread AngeloChen
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-uns