最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - Spring Documentation for server.ssl.key-store-type - Stack Overflow

programmeradmin2浏览0评论

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

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

发布评论

评论列表(0)

  1. 暂无评论