I am using a hack to solve some internal ssl issues (self signed certificates at dev and environments)
By updating the libraries from NEST 6.x to 7.4.0 my code is broken by a breaking change.
I am using a class derived from HttpConnection and overriding the CreateHttpClientHandler method. (Setting the ServerCertificateCustomValidationCallback property on the HttpClientHandler)
But, in the new version of the library this method is changed, it is now returning a HttpMessageHandler object. (For some reason the method is still called "CreateHttpClientHandler"....)
Is there still a way to set the ServerCertificateCustomValidationCallback on the HttpClientHandler object?