We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://gist.github.com/benhysell/10c1eb546bd3401ee50f https://stackoverflow.com/questions/28406226/how-to-import-private-key-of-self-signed-certificate-using-certmgr-in-mono#31330399
The text was updated successfully, but these errors were encountered:
Not sure if related or this will help you @haf
The way I do this at the moment is something like:
use dangerousHttpHandler = new HttpClientHandler( // check: // https://github.com/dotnet/corefx/issues/24774 // https://github.com/dotnet/corefx/issues/19709 ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator) let dangerousHttpClient = new HttpClient (dangerousHttpHandler) let createDangerousRequest (method: HttpMethod) (url: string) = new Uri (url) |> Request.createWithClient dangerousHttpClient method let request = "https://localhost" // self-signed |> createDangerousRequest Get
There could be more functions baked into Http.Fs to make it less cumbersome but the API surface is flexible enough.
Sorry, something went wrong.
No branches or pull requests
https://gist.github.com/benhysell/10c1eb546bd3401ee50f
https://stackoverflow.com/questions/28406226/how-to-import-private-key-of-self-signed-certificate-using-certmgr-in-mono#31330399
The text was updated successfully, but these errors were encountered: