很简单,按照如下配置server.xml即可:

<Connector port="443" maxHttpHeaderSize="8192" SSLEnabled="true" server="Chinabank"  
           maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
           enableLookups="false" disableUploadTimeout="true"
           acceptCount="100" scheme="https" secure="true" clientAuth="false"
           URIEncoding="UTF-8"
           sslProtocol="SSL"
           ciphers="SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA"
           keystoreFile="/export/servers/tomcat/myssl.key"
           keystorePass="xxxxxxxx" />

用TLS的话 sslProtocol="TLS",ciphers按需所选就好了。

comments powered by Disqus