编辑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中本来就有,只不过默认是被注释掉的

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐