tomcat配置https访问
2018-02-22 22:53
731 查看
编辑Tomcat配置文件conf/server.xml
增加一行配置
<Connector SSLEnabled="true" clientAuth="false" keystoreFile="file:///E:/software/ssl/test.keystore" keystorePass="123321" maxThreads="150" port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https" secure="true" sslProtocol="TLS"/>
keystoreFile:秘钥库文件路径
keystorePass:秘钥库口令
其实这行配置在server.xml中本来就有,只不过默认是被注释掉的
增加一行配置
<Connector SSLEnabled="true" clientAuth="false" keystoreFile="file:///E:/software/ssl/test.keystore" keystorePass="123321" maxThreads="150" port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https" secure="true" sslProtocol="TLS"/>
keystoreFile:秘钥库文件路径
keystorePass:秘钥库口令
其实这行配置在server.xml中本来就有,只不过默认是被注释掉的
相关文章推荐
- 配置tomcat的https访问
- TOMCAT HTTPS访问配置应用
- tomcat 配置https访问
- tomcat配置Https访问
- Tomcat配置https访问
- Tomcat 配置https访问服务
- 本地测试Tomcat配置Https访问
- 如何配置https访问tomcat
- 本地测试Tomcat配置Https访问
- 在Tomcat下配置HTTPS访问方式
- Tomcat配置HTTPS及访问HTTP自动跳转到HTTPS
- Tomcat配置https及访问http自动跳转至https
- Windows下Tomcat+nginx配置证书实现登录页https访问
- Tomcat配置https并访问http自动跳转至https
- 给Tomcat配置HTTPS访问
- Tomcat配置https及访问http自动跳转至https
- tomcat同时使用http和https访问的配置方法
- linux系统下用单向认证方式将Tomcat配置成https方式访问
- Nginx+Tomcat服务器环境中配置https访问
- Tomcat配置HTTPS访问,强制HTTPS访问