Bootstrap

tomcat配置https并实现读取配置文件密文密码

tomcat配置https我就不用多解释了,直接上代码:
<Connector port="8085" executor="tomcatThreadPool" protocol="com.pinnet.Http11NioProtocol" SSLEnabled="true"
	       scheme="https" secure="true"  acceptCount="200"
	       address="127.0.0.1"
	       sslEnabledProtocols="TLSv1.2"
	       ciphers="TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
           keystoreFile="../IEMS-conf/SSO-conf/ssl/tomcat/keystore.jks" keystorePass="${tomcat.trustCertificateKeyStorePassword}"
           connectionTimeout="20000" KeepAliveTimeout="15000" maxPostSize="10240" maxKeepAliveRequests="1"
	       maxHttpHeaderSize="8192" />

protocol属性官网配置为org.apa

;