Spring Boot - enable and configure SSL certificate

后端 未结 4 546
Happy的楠姐
Happy的楠姐 2021-01-11 15:25

I have this certificates / files in order to enable SSL for my application:

I found out that this properties are needed for Spring Boot to enable HTTPS:

4条回答
  •  梦谈多话
    2021-01-11 15:57

    To enable SSL, you must provide a private key, and not a trusted certificate.

    In your keystore, 'tomcat' should be listed as an alias for a privatekeyentry and not a trustedcertentry.

提交回复
热议问题