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
GitHub or Developer Community 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 20751 [details]
Description: Xamarin.Certificates issues crops up everytime an instance of VSfM is opened
Steps to reproduce:
- Install the VSfM application
- Open the VSfM application
Expected Result - VSfM should start successfully
Actual Result - Xamarin.Certificate issue pops up a number of times and does not close
Reproducibility Ratio: 10/10
Visual Studio for Mac Preview
Version Preview 5 (7.0 build 1754)
Installation UUID: 0dddd93d-6d83-4539-a8cd-2edf7e9e8564
Mono 126.96.36.199 (2017-02/582b140) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 409030060
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
Apple Developer Tools
Xcode 8.2.1 (11766.1)
Version: 10.9.0.73 (Visual Studio Enterprise)
Build date: 2017-03-21 12:28:31-0400
Version: 188.8.131.52 (Visual Studio Enterprise)
Android SDK: /Users/globallogic/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
4.4 (API level 19)
6.0 (API level 23)
7.0 (API level 24)
7.1 (API level 25)
SDK Tools Version: 25.2.5
SDK Platform Tools Version: 25.0.3
SDK Build Tools Version: 25.0.1
Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
Android Designer EPL code available here:
Version: 184.108.40.206 (Visual Studio Enterprise)
Build date: Fri, 10 Mar 2017 22:41:39 GMT
Release ID: 700001754
Git revision: 19e3a4fe7845ed95cd46bee588b977c437aab778
Build date: 2017-03-17 06:06:48-04
Xamarin addins: 9da1aac629739945502f03c5f10b9efbb0608661
Build lane: monodevelop-lion-azure-publishing-rebased
Mac OS X 10.12.0
Darwin NAG1-LMAC-N07154 16.0.0 Darwin Kernel Version 16.0.0
Mon Aug 29 17:56:20 PDT 2016
Created attachment 20752 [details]
Created attachment 20753 [details]
Created attachment 20754 [details]
Created attachment 20755 [details]
Screencast Link - https://www.screencast.com/t/4FxWpyqm5
This is definitely about AppleTLS enabled by default on desktop mono on macOS.
Well we know it's AppleTls because @manish tested with MONO_TLS_PROVIDER=legacy and said that made it work.
There are various ways we can turn off AppleTls and drop back to legacy, but I'd rather fix the issue at hand (if there is one).
What certificates are Apple rejecting?
I can reproduce this issue even outside out visual studio for mac
Use this code
the screenshot is
This "goes away" if you set MONO_TLS_PROVIDER=legacy.
Doing some research, I've found the following:
- The exception we hit on AppleTls - https://gist.github.com/chamons/bff6fac1966f97d43302932fed2b8aea
- You hit a nearly identical one if you force BTLS - https://gist.github.com/chamons/eec48838c742da2f3aab144526f53874
- You get the same exact behavior if you run the build before my AppleTls merge and force BTLS
Martin is debugging right now.
At first debug we're hitting the last exception in EvaluateTrust in AppleTlsContext.cs.
Is this resolved, can we close it?
Working fine with the latest versions of Mono, XA, XI, XM.
Working fine with following config :
Visual Studio for Mac Version Preview 5 (7.0 build 2690)
Mono 220.127.116.11 (2017-02/f342dae) (64-bit)
Xamarin.Android Version: 18.104.22.168
Xamarin.Mac Version: 22.214.171.1246
Xamarin.iOS Version: 10.9.0.466
Hence marking this bug as Verified.