tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaud icard <arnaud.ic...@univ-avignon.fr>
Subject configuring APR SSL
Date Wed, 16 Mar 2011 11:32:29 GMT
Hello,

I am configuring HTTPS in Tomcat 5.5 (distributed with Business Object).

I have the following parameters in the server.xml file :
<Listener className="org.apache.catalina.core.AprLifecycleListener" 
SSLEngine="on" />
...
<Connector port="8443" maxHttpHeaderSize="8192"
                maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
                enableLookups="false" disableUploadTimeout="true"
                acceptCount="100" scheme="https" secure="true"
                 
SSLCertificateFile="/etc/ssl/UAPVCA/bo.univ-avignon.fr.pem"
                 
SSLCertificateKeyFile="/etc/ssl/UAPVCA/keys/bo.univ-avignon.fr.key" />

However when I restart Tomcat, I have the following error in the log :
SEVERE: Error starting endpoint
java.io.FileNotFoundException: /home/bo/.keystore (No such file or 
directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at 
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:279)
...
SEVERE: Catalina.start:
LifecycleException:  service.getName(): "Catalina";  Protocol handler 
start failed: java.io.FileNotFoundException: /home/bo/.keystore (No such 
file or directory)
         at 
org.apache.catalina.connector.Connector.start(Connector.java:1096)
         at 
org.apache.catalina.core.StandardService.start(StandardService.java:459)
...


Why is it looking for a keystore as the APR listener is activated ?
JSSE may be inactivated, ain't it ?


Regards,
arnaud


Mime
View raw message