ZitchCode / SecureHttpClient

Cross-platform HttpClientHandler with TLS1.2 and Certificate Pinning
MIT License
33 stars 6 forks source link

Anchor certificates not working on iOS #9

Closed alexrainman closed 2 years ago

alexrainman commented 5 years ago

If your certificate is self-signed, this line:

challenge.ProtectionSpace.ServerSecTrust.SetAnchorCertificates(_trustedRoots);

doesn't work.

tranb3r commented 5 years ago

Any idea for a fix ?

alexrainman commented 5 years ago

@tranb3r I have been researching but nothing yet.

tranb3r commented 2 years ago

I'm closing this issue for now since I've been unable to reproduce your issue. Do not hesitate to reopen it with more details if you still need a fix. Thanks