[Android][iOS] Enable HttpClientHandler.DangerousAcceptAnyServerCertificateValidator when using native handlers #68898
Labels
area-System.Net.Http
blocked
Issue/PR is blocked on something - see comments
enhancement
Product code improvement that does NOT require public API changes/additions
os-android
os-ios
Apple iOS
Milestone
At the moment the
HttpClientHandler.DangerousAcceptAnyServerCertificateValidator
property throwsPlatformNotSupportedException
when using native handlers. Since the native handlers will use theServerCertificateCustomValidationCallback
property in .NET 7 (see dotnet/android#6665, mac/iOS is implementation is currently in progress) there won't be a reason to throw the exception anymore./cc @akoeplinger
The text was updated successfully, but these errors were encountered: