I have a project which I built on linux and it works as expected. When I try to build a version for windows it does not work at all. I set up debugging on windows and the issue is with ssl.
The project accesses external urls entered by the user. It uses both HttpClient and XDocument.Load and in both cases I get
System.Net.WebException: Error: TrustFailure
with a bunch of inner exceptions terminating at
Ssl error:1000007d:SSL routines😮PENSSL_internal:CERTIFICATE_VERIFY_FAILED
at /root/mono-6.12.0.182/external/boringssl/ssl/handshake_client.c:1132
I don't even really need http encryption for the project so this is doubly frustrating as I can not see any way to turn it off. I am using the latest stable build downloaded today from the official website. The issues occur on windows while running from the editor as well as in exported versions of the project (at least I assume the error is the same).
All the discussion I can find on the web about this error assumes a huge amount of understanding about how ssl certificates work, which I do not have. A lot of it also assumes I have access to change the server certificate, which is nonsense as a) I don't and b) the server certificate is fine, these are big commercial websites with millions of users.
Is there anything I can do or are http requests just not supported in godot on windows?