I followed a guide to enable https in Spring Boot. The application was beforehand working on https://localhost:8080
I\'ve created a keystore.jks
which is in
From Spring Boot 2.0 and higher, you can ignore this property.
security.require-ssl=true
To enable SSL, use the below configuration in your application.properties
server.ssl.key-store-type=JKS
server.ssl.key-store=classpath:somecert.jks
server.ssl.key-store-password=password
server.ssl.key-alias=alias_name
Note : server.ssl.key-store refers to the keystore location. Use classpath prefix, if it is present in src/main/resources. Otherwise use, file:/some/location.