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
keystore.jks
I had same problem. for me server.ssl.key-alias was set to a wrong key. So, it sounds that some server mis-configurations in application.properties can cause this error message to appear.