You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can further customise http clients by setting values in the spring.cloud.openfeign.httpclient.xxx properties.
feign.httpclient.disable-ssl-validation should apply to all clients.
Interestingly, this parameter doesn't seem to apply to http2Client configuration. Or I did miss something.
Same for the default client if no client is specified.
alexisgayte
changed the title
feign.httpclient.disable-ssl-validation = false doesn't disable ssl validation for HttpClient
feign.httpclient.disable-ssl-validation = true doesn't disable ssl validation for HttpClient
May 22, 2025
Uh oh!
There was an error while loading. Please reload this page.
feign.httpclient.disable-ssl-validation should apply to all clients.
Interestingly, this parameter doesn't seem to apply to http2Client configuration. Or I did miss something.
Same for the default client if no client is specified.
Here the configuration:
https://github.com/spring-cloud/spring-cloud-openfeign/blob/main/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/clientconfig/Http2ClientFeignConfiguration.java#L39-L53
https://github.com/search?q=repo%3Aspring-cloud%2Fspring-cloud-openfeign%20isDisableSslValidation&type=code
isDisableSslValidation applies to hc5 and okhttp3 but not http2Client nor default client (jdk httpClient from feign).
The text was updated successfully, but these errors were encountered: