With the command
keytool -genkey -alias localhost -keyalg RSA -keystore KeyStore.jks -keysize 2048
i generated keystore.
Next, I placed the generated file in resource and I have added to the configuration
#server
server:
ssl:
key-store: classpath:KeyStore.jks
key-store-password: JonkiPro
key-password: JonkiPro
(I set the same passwords when generating the file)
But the application has stopped working and the server does not respond. The program compiles correctly but does not find the server https://zapodaj.net/e71e6875b721b.png.html
Do I need to do something else?