How can I set up a letsencrypt SSL certificate and use it in a Spring Boot application?

前端 未结 7 2053
长情又很酷
长情又很酷 2020-12-07 09:14

I\'m new to securing a server so I don\'t really know much about this but I need to get my Spring Boot Application that is running on a Digital Ocean Droplet to use HTTPS. <

相关标签:
7条回答
  • 2020-12-07 10:15

    For spring boot webflux the configuration of properties changed

    server.port=443
    
    server.ssl.enabled=true//the changed line
    server.ssl.keyAlias=netty
    server.ssl.key-store=path
    server.ssl.key-store-password=password
    server.ssl.keyStoreType=PKCS12
    
    0 讨论(0)
提交回复
热议问题