Closed kanayo closed 4 years ago
That's wonderful, thank you!
@kanayo btw, is this also possible for iOS, or don't we need it there?
It looks like this case is covered by AFNetwork on iOS:
https://github.com/AFNetworking/AFNetworking/pull/1865
Which makes me think, it would be better to just implement the matching algorithm described there, then we wouldn't need the Android-only "commonName" option.
@kanayo Yes that makes sense!
Add commonName option to handle cases where CN != hostName, eg host= sales.company.com, CN=*.company.com
See issue:
https://github.com/EddyVerbruggen/nativescript-https/issues/14