<Connector port="443" protocol="org.apache.coyote.http11.Http11NioProtocol" maxThreads="100" compression="on" scheme="https" SSLEnabled="true" secure="true" defaultSSLHostConfigName="test.test"> <SSLHostConfig hostName="test.test" protocols="TLSv1.2"> <Certificate certificateFile="conf/cert.pem" certificateKeyFile="conf/privkey.pem" certificateChainFile="conf/chain.pem" /> </SSLHostConfig> </Connector>
<Connector executor="tomcatThreadPool" port="443" protocol="org.apache.coyote.http11.Http11NioProtocol" connectionTimeout="30000" keepAliveTimeout="60000" maxKeepAliveRequests="150" URIEncoding="UTF-8" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="102400" maxPostSize="4194304" acceptorThreadCount="16" acceptCount="500" compression="on" compressionMinSize="2048" useSendfile="false" noCompressionUserAgents="gozilla,traviata" compressibleMimeType="text/html,text/xml,text/javascript,text/css,text/plain" SSLEnabled="true"> <SSLHostConfig> protocols="TLSv1.2" <Certificate certificateKeystoreFile="ssl/123.jks" certificateKeystorePassword="123456" type="RSA" /> </SSLHostConfig> </Connector>
标签:TLSv1.2,正确,Tomcat,SSLHostConfig,配置,protocols From: https://www.cnblogs.com/wxwgk/p/16938242.html