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
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
Share Improve this question edited Feb 6 at 21:51 GC_ asked Feb 6 at 21:13 GC_GC_ 931 gold badge1 silver badge8 bronze badges1 Answer
Reset to default 0use 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