您的位置:首页 > 理论基础 > 计算机网络

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中本来就有,只不过默认是被注释掉的
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  https tomcat