spring boot 2.0 jar包添加https

配置:

server:
  port: 8080
  ssl:
    key-store: classpath:zhengshu.pfx
    key-store-type: PKCS12
    key-store-password: Sy03CAcI

证书位置:


TIM截图20191114090922.png

阿里免费证书申请地址:
https://common-buy.aliyun.com/?spm=5176.2020520163.cas.7.f02aE4CEE4CET6&commodityCode=cas#/buy

你可能感兴趣的:(spring boot 2.0 jar包添加https)