tomcat的server.xml文件中添加配置
如下图
添加如下配置
<Connector port="443" SSLEnabled="true" secure="true" scheme="https">
<SSLHostConfig>
<Certificate certificateFile="conf/ssl2/cert.pem"
certificateKeyFile="conf/ssl2/privkey.pem"
certificateChainFile="conf/ssl2/chain.pem" />
</SSLHostConfig>
</Connector>
将证书放置在tomcat目录下,如下图
| 备注 | 修改日期 | 修改人 |
| 内容更新 | 2024-11-08 18:55:34[当前版本] | 系统管理员1 |
| 内容更新 | 2024-11-08 18:42:54 | 系统管理员1 |
| 创建版本 | 2024-11-06 16:38:53 | 系统管理员1 |
| 附件类型 |
|
|
|
|
||