Has anyone used HttpClient with Https ?
I can connect to my https server with a web browser but not with HttpClient.
I'm using the same .PFX certificate with HttpClient as with HttpEndpoint.
I have tried all the 'secure-protocol' options available to the client to no avail.
ERROR_WINHTTP_SECURE_FAILURE is returned.
HttpClient Secure Protocol Error
HttpClient Secure Protocol Error
The eXpress train is coming - and it has more cars.
Re: HttpClient Secure Protocol Error
This might be TLS version related.
Is https server configured to TLS 1.3 only or it also allows older TLS 1.2 too ?
Is https server configured to TLS 1.3 only or it also allows older TLS 1.2 too ?
rdonnay wrote: ↑Fri Jun 23, 2023 6:25 am Has anyone used HttpClient with Https ?
I can connect to my https server with a web browser but not with HttpClient.
I'm using the same .PFX certificate with HttpClient as with HttpEndpoint.
I have tried all the 'secure-protocol' options available to the client to no avail.
ERROR_WINHTTP_SECURE_FAILURE is returned.