Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mono.Android] use
X509TrustManagerExtensions
for `network_security…
…_config.xml` (#9302) Related to dotnet/runtime#107695 When `<domain-config ...>` is used in `network_security_config.xml` then all calls to `_internalTrustManager.CheckServerTrusted (javaChain, authType);` will throw an exception and we will always pass `SslPolicyErrors.RemoteCertificateChainErrors` to the custom server certificate validation callback. To fix this, it is necessary to use hostname-specific certificate check via `X509TrustManagerExtensions`.
- Loading branch information