Open AlizerUncaged opened 1 year ago
I was able to fix this by settings EnableSecurityProtocolsForFetcher
to false in my _settings_
following #28, however it seems 1.8.4 should resolve this issue but seems like the fallback doesn't work...?
Hello your can resolve your issue by adding this parameters to the settings EnableSecurityProtocolsForFetcher = false; and and use HttpClient with a handler that ignore ssl validations like this : var handler = new HttpClientHandler(); handler.ClientCertificateOptions = ClientCertificateOption.Manual; handler.ServerCertificateCustomValidationCallback = (httpRequestMessage, cert, cetChain, policyErrors) => { return true; }; // download tools await new TorSharpToolFetcher(_settings, new HttpClient(handler)).FetchAsync();
What platform is this occurring on? I would like to know:
OS version (Linux distribution and version if applicable)
.NET version (with dotnet --info
)
I get the following error
here's my code, copied right from the ReadMe
screenshot
I use .NET 7, my host OS is Windows 11 x64