Closed ThunderCls closed 3 years ago
Hm. What is your OS?
Oh I forgot to mention, I’m using VS2017 in W10 x64
You should configure httpClientHandler with own certificate validation method:
var engine = EngineBuilder.New()
.ConfigureResourceProvider(res => res.Http(h => h.ConfigureClientHandler(c =>
c.ServerCertificateCustomValidationCallback = (a1, a2, a3, a4) => true)))
.Build();
`
Apparently there are some issues when trying to access websites with https. My code is:
When executing OpenUrl() I get the exception "WebException: The request was aborted: Could not create SSL/TLS secure channel."
Even if I add the lines
Then I get a deadlock
Any thoughts or workarounds for this?