Reputation: 515
I am currently using Spring Vault with TLS, which works fine. My problem is that I need to support a custom TLS chain to connect to a client's Vault instance. Using a jks is not an option, my only option is to use PEM files.
I've read that Spring Vault is able to use PEM files for its SSL configuration, but I can't figure out how ... :(
Upvotes: 0
Views: 423
Reputation: 5924
Technically you need to customize underlining web client and provide custom SslConfiguration
loading certificates from PEM files and creating truststore in runtime.
Looking at VaultAutoConfiguration
you could provide custom ClientFactoryWrapper
bean configured with your SslConfiguration
.
Upvotes: 0