找了很久,也没有找到有价值的东西
有一篇是 写配置Apache Server的,
http://www.raibledesigns.com/tomcat/ssl.conf
#   Inter-Process Session Cache:
#   Configure the SSL Session Cache: First the mechanism 
#   to use and second the expiring timeout (in seconds).
#SSLSessionCache        none
#SSLSessionCache        shmht:logs/ssl_scache(512000)
#SSLSessionCache        shmcb:logs/ssl_scache(512000)
SSLSessionCache         dbm:logs/ssl-scache.log
SSLSessionCacheTimeout  300
就是找不到针对Tomcat5.0的
感觉应该在下面的配置中加一点什么,或者在SSL的一个全局的设置中<Connector port="443" sslProtocol="SSL" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" debug="0" secure="true" clientAuth="true" keystoreFile="./sslerver.p12" keystorePass="1" keystoreType="PKCS12" />

解决方案 »

  1.   


    connectionTimeout 在Connector接受一个连接以后,等待发生第一个请求的时间,以毫秒为单位。缺省值为60000(60秒)
     
    debug 日志消息的详细程度,数字越大,输出越详细,如果没有指定,使用缺省值0。
     
    disableUploadTimeout 这个标志允许servlet container在一个servlet执行的时候,使用一个不同的,更长的连接超时。最终的结果是给servlet更长的时间以便完成其执行,或者在数据上载的时候更长的超时时间。如果没有指定,设为false。 
      

  2.   

    pigo:
        你好!
        你写的 connectionTimeout 是定义建立客户连接超时的时间,以毫秒为单位,如果设置为-1,表示不限制建立客户连接的时间.
        可是我想知道的是SSL Session的超时时间如何设置,即SSL连接在超过一定的时间后,双方协商的对称密钥在服务器端已经作废,需要重新协商SSL会话密钥.