DEV Community

Vijay SRJ
Vijay SRJ

Posted on

3 2

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/

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs