Spring Boot - enable and configure SSL certificate

后端 未结 4 508
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

    You have to pack your private keys to PFX file or P12 with specifiyng aliases. So, it will be picked up accordingly from the keyStore after loading materials.

    Use this tool to figure out what alias are:

    keytool -list -storetype pkcs12 -keystore my_debug_keystore.p12 -storepass debug
    

提交回复
热议问题