Open fitzoh opened 6 years ago
@fitzoh As a work around you can create a custom configuration for netty HttpClient and then set SNIMatcher to true for all conditions which skips dns verification and gets you going
and @spencergibb we can add a flag in HttpClientProperties.java for SAN verification enabling or disabling
None of those have any bearing on ProxyExchange
I'm attempting to use gateway to bypass a load balancer and proxy a prometheus scrape request. I'm hitting an IP address directly, and setting the host header that the server is expecting.
This causes ssl issues.
I attempted to set
spring.cloud.gateway.httpclient.ssl.use-insecure-trust-manager=true
which got me past the initial error, but it now fails hostname verification: