server:
port: 443 //https 默认端口443 http默认端口80
ssl:
key-store: classpath:xxx.jks //classpath后无空格
key-store-password: 秘钥 //冒号后有空格
key-store-type: JKS //冒号后有空格
将jks文件放到src/main/resources目录下
server:
port: 443 //https 默认端口443 http默认端口80
ssl:
key-store: classpath:xxx.jks //classpath后无空格
key-store-password: 秘钥 //冒号后有空格
key-store-type: JKS //冒号后有空格
将jks文件放到src/main/resources目录下