Thank you for your response John.
I removed those two lines from the server.xml.
<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
/>
Now I am not getting exceptions in tomcat.
But when I try to open the SSL configuration by going to https://localhost:8443/
I am getting the following error message .
There is a problem with this website's security certificate.
The security certificate presented by this website was not issued by a trusted certificate authority.
Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.
I removed those two lines from the server.xml.
<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
/>
Now I am not getting exceptions in tomcat.
But when I try to open the SSL configuration by going to https://localhost:8443/
I am getting the following error message .
There is a problem with this website's security certificate.
The security certificate presented by this website was not issued by a trusted certificate authority.
Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.
Do you have any idea what's going on?
John Thiltges <[EMAIL PROTECTED]> wrote:
John Thiltges <[EMAIL PROTECTED]> wrote:
asha latha wrote:
> I have generated the certificate and added to the JVM cacerts file.
> These are the steps I followed to do so.
>
> 1. >keytool -genkey -alias tomcat -keyalg RSA
>
> 2. > keytool -export -alias tomcat -file server.crt
>
> 3. >keytool -import -file server.crt -keystore "C:\Program
> Files\Java\jre1.5.0_05\lib\security\cacerts"
>
> Everything went correctly when I gave the above commands and finally I
> got the response "Certificate was added to keystore" . Then I changed
> the server.xml file in tomcat.
>
The steps look correct.
In your SSL connector configuration you posted earlier, try removing the
keystoreFile and keystorePass attributes.
Note that the commands are modifying two different keystores. Commands 1
and 2 modify the default keystore. Command 3 modifies the cacerts
keystore. So, the "tomcat" key only exists in the default keystore, not
the cacerts keystore.
John
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas
Want to start your own business? Learn how on Yahoo! Small Business.
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
