0
点赞
收藏
分享

微信扫一扫

springboot配置https

三分梦_0bc3 2022-01-30 阅读 94

证书自行在域名处选择pfx下载

 springboot配置如下 就可以了  测试可以用

server:
  ssl:
    key-store: classpath:cert/xxxx.pfx
    key-store-type: PKCS12
    key-store-password: xxxxxx #写你的密码

举报

相关推荐

0 条评论