Search code examples
javaspringspring-bootssltomcat

Spring Documentation for server.ssl.key-store-type


I am trying to get the Spring embedded tomcat to work with a pem cert file. I know tomcat works with the cert directly, but I am not sure how to force spring to work with the cert.

I found this setting, which I think might help.

server.ssl.key-store-type

However, I haven't found any documentation for it. Can someone please find some spring documentation for this setting?

I want a list of options and their meanings. Or if it defers to some standard, which standard.

GC


Solution

  • use this properties:

    spring.ssl.bundle.pem.mybundle.keystore.certificate=classpath:application.crt
    spring.ssl.bundle.pem.mybundle.keystore.private-key=classpath:application.key
    

    You can refer to spring official docs here : spring-ssl