tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Non-secure HTTP connector with secure="true" requires a keystore?
Date Sat, 11 Oct 2008 12:53:46 GMT
Christopher Schultz wrote:
> Chuck,
> 
> Caldarale, Charles R wrote:
>> The code in 6.0 is noticeably different from that in 5.5 for protocol
>> initialization, including setting up the socket factory.  Would it be
>> possible to test the config on 6.0 to see if you can achieve the
>> desired results there?
> 
> Here is what I've found:
> 
> Tomcat 5.5.26 with the following <Connector> configuration (which is
> identical to that provided in the example server.xml that ships with TC
> 5.5.26 plus the secure="true" attribute):
> 
>     <Connector port="8080"
> 	maxHttpHeaderSize="8192"
>         maxThreads="150"
> 	minSpareThreads="25"
> 	maxSpareThreads="75"
> 	enableLookups="false"
> 	redirectPort="8443"
> 	acceptCount="100"
> 	connectionTimeout="20000"
> 	disableUploadTimeout="true"
> 	secure="true"
> 	/>
> 
> I get the following exception:
> 
> java.io.FileNotFoundException: /home/chris/.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:284)
> 
> Removing the secure="true" attribute results in a successful startup (as
> expected).
That looks like a bug to me. Please add to to bugzilla so it doesn't get
lost and forgotten about.

Mark



---------------------------------------------------------------------
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


Mime
View raw message