hi,
sorry for this off the list topic but i really need some
idea.
when i created my self-signed certificate using keytool to make SSL
available in Tomcat i specify in my certificate information
ex.
keytool -genkey -dname "CN=Mark Smith, OU=JavaSoft, O=Sun, L=Cupertino,
S=California, C=US" -alias mark
but when i access my webserver both through browser and java application
by using "https://carnelian:8443/testApp"
i got and exception which says that HTTPS hostname is wrong or certificate
is not the same as site name.
so i change the "CN" key equal to my hostname (ex."Carnelian"), now it
works...why is this?
keytool docs says that "CN" could be any valid full name...just like the
example above when i use "Mark Smith".
is there a way i can specify the certificate information using the full
name instead of the web server hostname?....and access it using https
without getting an exception.
i'm using Apache Tomcat 4.0, JSSE1.0.3, JDK1.3.1
thanks in advance
randie
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com