申请证书 阿里云申请免费SSL证书:https://yundunnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6ae183caVJoBS5&p=cas#/certExtend/free 证书下载 下载对应的nginx和tomcat证书 替换旧的pfx文件并配置xml中对应的密码 服务器tomcat里的pfx和xml 替换旧的nginx证书 服务器中的nginx旧证书 重启容器