Bug 59323 - TrustFailure (CertificateUnknown) Error
Summary: TrustFailure (CertificateUnknown) Error
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: 5.0 (2017-02)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Martin Baulig
Depends on:
Reported: 2017-09-08 10:13 UTC by elhajjaji.anas@gmail.com
Modified: 2017-09-21 20:03 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

NuGet is Visual Studio for Mac (119.87 KB, image/png)
2017-09-08 10:44 UTC, elhajjaji.anas@gmail.com

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 for Bug 59323 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description elhajjaji.anas@gmail.com 2017-09-08 10:13:38 UTC
After upgrading to Mono JIT compiler version, I can't call "mono NuGet.exe restore" to restore packages because of certificate problem. Do you have a solution to trust the in-house certificates? it was working before upgrading Mono version.

Details about Problem

NuGet version (

Mono JIT compiler version

OS version : OS X El Capitan 10.11.6
Comment 1 elhajjaji.anas@gmail.com 2017-09-08 10:21:58 UTC
The error I'm getting is:
Unable to find version 'X' of package 'Y'.
An error occurred while sending the request
Error: TrustFailure (CertificateUnknown)
Comment 2 elhajjaji.anas@gmail.com 2017-09-08 10:44:29 UTC
Created attachment 24643 [details]
NuGet is Visual Studio for Mac
Comment 3 Ludovic Henry 2017-09-21 20:03:30 UTC
Martin, could you please take a look?