Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 18374 [details]
This bug may be the same as https://bugzilla.xamarin.com/show_bug.cgi?id=44813 but on the current Alpha channel release for Mac (Xamarin.Android 126.96.36.199).
Our internal development landscape certificate has a wildcard as part of the subject, such as '*.mmx.sap.corp'. The current Alpha channel release seems to handle wildcards not correctly and reports a 'RemoteCertificateNameMismatch' SslPolicyError to the callback registered to to `ServicePointManager.ServerCertificateValidationCallback`.
This works in Stable. Hence we believe we are facing a regression here.
Repro attached. Assign URL of test server to constant in MainActivity.cs line 18.
Unfortunately, we’re unable to reproduce this report using the latest Xamarin.Android (7.3). If this issue is still occurring for you, please reopen this issue and provide an endpoint that could be used to reproduce this issue. Thank you!