Security Certificate issue with Tomcat
843811Oct 19 2004 — edited Oct 22 2004Hi all,
I am trying to get SSL working with Tomcat 5.0. I created my certificate and configured Tomcat to work properly with my "testWebApp".
The problem that i am having is when the user trying to access my web application 'testWebApp'. For example, i created my certificate with CN="spirit" (Using keytool) and the user is trying to access the site using an IP address like this "https://10.0.23.135/testWebApp/". So, the browser presents him/her with a warning about 'Certificate Name does not match the name of the site".
The certificate works fine when the user tries to access it by using a DNS name. (https://spirit/testWebApp/)
How do I make sure the user does not get the Warning message from the browser?
My Environment : Tomcat 5.0.25 on SUN Solaris machine.
Thanks all,-Poorna