虚位以待(AD)
虚位以待(AD)
首页 > 操作系统 > Windows系列 > http切换到https的tomcat配置

http切换到https的tomcat配置
类别:Windows系列   作者:码皇   来源:<a href="http://blog.csdn.net/tz_gx" target="_blank" rel="nofollow"   点击:

http切换到https的tomcat配置。1:打开tomcat的conf文件夹下的server xml。默认配置的是。

http切换到https的tomcat配置

1:打开tomcat的conf文件夹下的server.xml

默认配置的是

connectionTimeout="20000"
redirectPort="18443" />

改为

maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" keystoreFile="d:/123456.pfx" keystoreType="PKCS12" keystorePass="123456" />

重启tomcat后就生效了,https配置成功后,http就访问不了了,只能用https访问

相关热词搜索: