Hello,
as I said in my original mail, the problem still persists when I define the
keystore file as /tmp/tomcat.keystore for instance. Any ideas?
Thanks.
Best regards,
Werner
----- Original Message -----
From: "Martin Gainty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 15, 2000 1:35 AM
Subject: Re: Tomcat 5.5.25, SSL and "invalid keystore format"
Werner---
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
configure your SSL connector to define the path to your keystore file
(default is .keystore)
keystoreFile=
Martin--
----- Original Message -----
From: "Werner Schalk" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Saturday, October 13, 2007 6:33 PM
Subject: Tomcat 5.5.25, SSL and "invalid keystore format"
Hello,
I am trying to setup SSL in my Tomcat 5.5.25 (on Debian Linux) and thus
downloaded a binary version of Tomcat from the Tomcat website.
Now I tried to create a keystore:
# keytool -genkey -v -keyalg RSA
The server.xml is as follows:
<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" />
The error message in the log I am getting is:
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler
start
failed: java.io.IOException: Invalid keystore format
at
org.apache.catalina.connector.Connector.start(Connector.java:1097)
at
org.apache.catalina.core.StandardService.start(StandardService.java:457)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
What is causing this problem? Why is the keystore not valid? Has this to
do
with the APR or something? How would I need to create
a keystore then to make it work in Tomcat? I also tried to specify the
keystore location and name but that doesn't change anything...any ideas?
Thank you.
Best regards,
Werner.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]