Open alexei-g-aloteq opened 8 months ago
Anyone uses the http package on Windows at all?
I encountered a similar issue. While Invoke-RestMethod in PowerShell worked without any problems, using Dart’s Http started returning CERTIFICATE_VERIFY_FAILED unexpectedly one day.
It seems to be a huge issue on Windows. I've spend many hours and can reproduce it 100% times.
How to reproduce:
Expected results:
Real results:
How to prove that this the package issue:
Please pay attention that this is not about:
I know about a hack with a certificate pinning, but this is not an option since solves issues only with endpoints known at the moment of the building. This is obviously not an ultimate workaround.
There is an issue opened for almost a year: https://github.com/dart-lang/sdk/issues/52266
Appreciate your attention on this critical issue since we can clearly reproduce it on our projects.