You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by José Renato <jo...@suntech.com.br> on 2008/02/12 13:57:50 UTC
Re: SSL SetAllPropertiesRule warning and error [SOLVED]
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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: SSL SetAllPropertiesRule warning and error [SOLVED]
Posted by MohsenEbrahimi21 <mo...@yahoo.com>.
Thank you so much Renato. You are the best.
I searched a lot and didn't find anything, but changing the protocol
attribute works fine.
Thank you so much again.
--
View this message in context: http://old.nabble.com/SSL-SetAllPropertiesRule-warning-and-error-tp15432321p29062319.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org