配置
# https://help.aliyun.com/document_detail/365559.html
# HTTPS协议默认端口号为443,需要使用其他端口时,您可以在此处自定义。
server.port=8002
# https://docs.oracle.com/en/java/javase/11/docs/specs/security/standard-names.html#keystore-types
# 您需要使用实际的证书名称替换domain_name.pfx。
server.ssl.key-store=classpath:v4.pfx
# 填写pfx-password.txt文件内的密码。
server.ssl.key-store-password=${SSL_KEY_PASSWORD}
server.ssl.keyStoreType=PKCS12
参考
https://help.aliyun.com/document_detail/365559.html文章源自浅海拾贝-https://blog.terwergreen.com/spring-boot-config-https.html
https://docs.oracle.com/en/java/javase/11/docs/specs/security/standard-names.html#keystore-types文章源自浅海拾贝-https://blog.terwergreen.com/spring-boot-config-https.html
文章源自浅海拾贝-https://blog.terwergreen.com/spring-boot-config-https.html
相关文章
- 扫码加我微信
- 验证消息请输入:来自你的博客
- 我的微信公众号
- 微信扫一扫与我交流吧
评论