【发布时间】:2013-02-17 09:07:17
【问题描述】:
我正在尝试在 Linux (Ubuntu 12) 上运行 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(尽管我一开始使用的一些旧版本也无法正常工作)。
我该如何解决这个错误?
【问题讨论】:
-
您在导入 SSL 证书后是否遇到完全相同的错误?
-
老实说,我不记得在导入证书之前是否有所不同。
-
我只是想链接这篇相关的,很有帮助的文章dlafferty.blogspot.no/2013/08/…