我正在try 在Linux(Ubuntu12)上运行NuGet.我有Mono 3.0.6(源代码编译).
$ mono --runtime=v4.0.30319 .nuget/NuGet.exe update -self
Checking for updates from https://nuget.org/api/v2/.
Error getting response stream (Write: The authentication or decryption has failed.): SendFailure
我推测,该错误是由于某些证书(最有可能是nuget.org)不受信任.这是blog post has more details美元.
所以我跑了:
$ mozroots --import --sync
$ certmgr -ssl https://go.microsoft.com
$ certmgr -ssl https://nugetgallery.blob.core.windows.net
$ certmgr -ssl https://nuget.org
... 没用.
NuGet版本是2.3.0.0(尽管我最初使用的一些旧版本也不起作用).
如何修复此错误?