How to activate HTTPS

Hello again,

it had worked in the following! (only with the self-generated key see: Alias name [keyname] does not identify a key entry …)

It is not quite sure what the reason was, but the following two things were in any case not insignificant:

  • by the insertion of a SecurityConfig it has probably screwed up the start up of the server
  • in the application.yaml the following was missing… :
server:
  ssl:
    key-store: classpath:keyStoreName.p12
    key-store-password: password
    key-store-type: pkcs12
    key-alias: keyAliasName
    key-password: password
  port: 8443