> From: James H. H. Lampert [mailto:jam...@touchtonecorp.com] 
> Subject: Weird issue setting up SSL on a WinDoze box

> Caused by: java.lang.Exception: Connector attribute SSLCertificateFile 
> must be defined when using SSL with APR

> The relevant connector tag in server.xml is, on this installation,
>     <Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
>                maxThreads="150" scheme="https" secure="true"
>                keystoreFile="C:/Program Files/Apache Software 
> Foundation/Tomcat 7.0/wttomcat.ks"
>                keyAlias = "wintouch"
>                clientAuth="false" sslProtocol="TLS" />

You have installed and enabled the APR connector, but are trying to use the 
Java keystore.  APR uses OpenSSL, so its configuration is quite different, as 
is the certificate file:

http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#SSL_Support_-_APR/Native

If you want to use the Java SSL mechanism (it's slower), comment out the APR 
listener in server.xml:
http://tomcat.apache.org/tomcat-7.0-doc/config/listeners.html#APR_Lifecycle_Listener_-_org.apache.catalina.core.AprLifecycleListener

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to