Spring Boot内置Tomcat配置阿里云免费SSL证书

原文链接:https://www.likecs.com/show-203363646.html#sc=1896

操作步骤

获取SSL证书

1、阿里云申请免费的SSL证书 

阿里云免费的SSL证书申请地址:https://common-buy.aliyun.com/?spm=5176.10695662.958455.3.58d37d544FnuYs&commodityCode=cas#/buy

Spring Boot——内置Tomcat配置阿里云免费SSL证书(PFX格式证书)[启用HTTPS协议]

Spring Boot——内置Tomcat配置阿里云免费SSL证书(PFX格式证书)[启用HTTPS协议]

下载SSL证书

Spring Boot——内置Tomcat配置阿里云免费SSL证书(PFX格式证书)[启用HTTPS协议]

配置Spring Boot内置Tomcat

在resources目录下导入SSL证书

Spring Boot——内置Tomcat配置阿里云免费SSL证书(PFX格式证书)[启用HTTPS协议]

 application.properties(JKS格式证书)

Spring Boot——内置Tomcat配置阿里云免费SSL证书(PFX格式证书)[启用HTTPS协议]

application.yml(PFX格式证书)

Spring Boot——内置Tomcat配置阿里云免费SSL证书(PFX格式证书)[启用HTTPS协议]

访问测试

Spring Boot——内置Tomcat配置阿里云免费SSL证书(PFX格式证书)[启用HTTPS协议]

常见问题

https://blog.csdn.net/baidu_37302589/article/details/100692957

参考文章

https://blog.csdn.net/baidu_37302589/article/details/100692957

posted @ 2022-12-19 17:08  枫树湾河桥  阅读(155)  评论(0编辑  收藏  举报
Live2D