SSL : secure socket layer 是一种加密协议,SSL主要用于保护数据在 客户端和服务器之间的传输,,防止未经授权的访问和窃取敏感信息

  1. 在腾讯云申请ssl证书
    springboot配置https-LMLPHP
    springboot配置https-LMLPHP

申请了之后在我的域名中,,解析
springboot配置https-LMLPHP
解析了之后,去下载证书:
springboot配置https-LMLPHP
因为springboot是 Tomcat服务器,,下载 JKS格式

  1. 将下载的证书和 springboot项目整合到一起

springboot配置https-LMLPHP
本地的https就搭建完成了


服务器nginx配置,,将443映射到8091端口,,

springboot配置https-LMLPHP

11-01 04:45