I have changed the protocol name as follows and the keystoreFile name as
well:
<Connector port="443" protocol="org.apache.coyote.http11.Http11NioProtocol"
SSLEnabled="true" secure="true" enableLookups="false"
disableUploadTimeout="true"
keystoreFile="c:\Documents and Settings\Administrator\.keystore"
keystorePass="secret-pass"
acceptCount="100" maxThreads="25" scheme="https"
clientAuth="false" sslProtocol="TLS" />
Now it works fine.
Best Regards,
José Renato.
José Renato escreveu:
Hi All,
I installed Tomcat 6.0.16 and I am getting some warnings and errors
configurating SSL connector:
12/02/2008 10:22:11 org.apache.catalina.startup.SetAllPropertiesRule
begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
property 'keystoreFile' to '/Documents and
Settings/Administrator/.keystore' did not find a matching property.
12/02/2008 10:22:11 org.apache.catalina.startup.SetAllPropertiesRule
begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
property 'keystorePass' to 'secret-pass' did not find a matching
property.
12/02/2008 10:22:11 org.apache.catalina.startup.SetAllPropertiesRule
begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
property 'clientAuth' to 'false' did not find a matching property.
12/02/2008 10:22:11 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.10.
12/02/2008 10:22:11 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters
[false], random [true].
12/02/2008 10:22:11 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
12/02/2008 10:22:11 org.apache.coyote.http11.Http11AprProtocol init
SEVERE: Error initializing endpoint
java.lang.Exception: No Certificate file specified
at org.apache.tomcat.jni.SSLContext.setCertificate(Native Method)
...
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed:
java.lang.Exception: No Certificate file specified
at
org.apache.catalina.connector.Connector.initialize(Connector.java:1060)
...
And here is my connector:
...
<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
secure="true" enableLookups="false" disableUploadTimeout="true"
keystoreFile="/Documents and Settings/Administrator/.keystore"
keystorePass="secret-pass"
acceptCount="100" maxThreads="25" scheme="https"
clientAuth="false" sslProtocol="TLS" /> ...
Looking at documentation I noticed that those properties already exists:
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
The connector is not being initialized properly as if those properties
does not exist. So what am I missing here?
Best Regards.
---------------------------------------------------------------------
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]