Skip to content

Add SSL bundle support to WebClient auto-configuration #18556

Closed
@62mkv

Description

@62mkv

As suggested by @wilkinsona in #6493, I raise an issue to ask to add a simplified way to add "trust store" details when it's only needed for connecting to outgoing services, that use "exotic" certificates. It can be easily done with the help of system properties, but it's not always possible to set up (for example, with Spring Boot war built via Java S2I and running on OpenShift - JAVA_OPTS and CATALINA_OPTS are just ignored)

Our application uses Spring 5 WebClient for connectivity

I would want to have a way to provide a path and optionally password to a trustStore via environment variables, much as one can do with SERVER_SSL_TRUST_STORE but unfortunately it does not work without ALSO providing key store details, which is something we don't want as the application works behind OpenShift Load-Balancer over HTTP, thus we don't set up SSL server at all

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions