I'd like the ability to configure via Spring properties the enabled TLS protocol versions and cipher suites on the Spring Cloud Config HTTP client. The only way to do this currently is to provide a custom ConfigServicePropertySourceLocator
bean with a RestTemplate
that uses a ClientHttpRequestFactory
that is basically a copy of the one created by org.springframework.cloud.config.client.ConfigServicePropertySourceLocator.createHttpRquestFactory(ConfigClientProperties)
but with the enabled protocol versions and cipher suites set on an underlying org.apache.http.conn.ssl.SSLConnectionSocketFactory
.
Thoughts?