脚本宝典收集整理的这篇文章主要介绍了springboot 配置 https,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
登录阿里云控制台,选择 ssl 证书
一顿操作完以后,创建证书的位置点下就可以看到证书列表
点击下载证书
springboot 的选择 tomcat 下载
下载后的解压后有两个文件
将这两个文件放入 SpringBoot 项目的 Resource 目录
然后配置文件配置下
password 就是.txt 文件中的秘钥
启动 springboot 项目
以上是脚本宝典为你收集整理的springboot 配置 https全部内容,希望文章能够帮你解决springboot 配置 https所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。