How to convert your Spring Boot app to serve over HTTPs instead of HTTP?

vijaysrj

Vijay SRJ

Posted on April 23, 2021

How to convert your Spring Boot app to serve over HTTPs instead of HTTP?

Converting your spring boot app to serve on HTTPS just requires few configuration to be added in application.yml:

server:
  ssl:
    key-store: C:\softwares\jdk-16\bin\demokeystore
    key-store-password: demopass
    key-alias: demokey 
  port: 8443
Enter fullscreen mode Exit fullscreen mode

The above configuration is enough. Here is the explanation behind it:

https://fullstackdeveloper.guru/2021/04/23/how-to-convert-your-spring-boot-app-to-a-https-application/

💖 💪 🙅 🚩
vijaysrj
Vijay SRJ

Posted on April 23, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related