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.
After the upgrade to MonoTouch 6.0.6 I am no longer able to connect to websites with a not yet trusted SSL certificate.
I used the following lines of code that aren't called within a MonoTouch project after the upgrade:
ServicePointManager.ServerCertificateValidationCallback += ((sender, certificate, chain, sslPolicyErrors) => true);
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;
It still works with a console application project though.
The callback works. However MonoTouch 6.0.6 has an issue with some SSLv3 servers. In this case the connection might fail before reaching your ServerCertificateValidationCallback callback.
The issue is already fixed and will be in the next stable update. Note that, if possible, you should use TLSv1 for all encrypted HTTPS traffic (there's no technical/security benefit to use SSLv3).
> It still works with a console application project though.
It depends on the version of Mono being executed. One recent version has the same (now fixed) issue.
*** This bug has been marked as a duplicate of bug 8312 ***
You need to downgrade to 6.0.4 and it can be installed on top of 6.0.6.
Previous releases can be downloaded from the customer portal.
If you have need help please contact email@example.com