Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Security Certificate issue with Tomcat

843811Oct 19 2004 — edited Oct 22 2004
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2004
Added on Oct 19 2004
4 comments
195 views