nuget - MonoDevelop 安装:证书失败
问题描述
在成功运行后尝试安装 MonoDevelop 5.12.0.266时,/.configure
我在尝试运行时偶然发现了一个错误make
。我正在运行鹦鹉 4.14.0-parrot13-amd64。这是追溯:
Restoring NuGet package Microsoft.CodeAnalysis.VisualBasic.Workspaces.2.8.0-beta3-62728-05.
WARNING: Unable to find version '2.2.0' of package 'Humanizer.Core'.
https://api.nuget.org/v3/index.json: Unable to load the service index for source https://api.nuget.org/v3/index.json.
An error occurred while sending the request
Error: TrustFailure (A call to SSPI failed, see inner exception.)
A call to SSPI failed, see inner exception.
Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
at /home/c4ffrey/Downloads/mono-5.12.0.226/external/boringssl/ssl/handshake_client.c:1132
https://dotnet.myget.org/F/roslyn/api/v3/index.json: Unable to load the service index for source https://dotnet.myget.org/F/roslyn/api/
v3/index.json.
An error occurred while sending the request
Error: TrustFailure (A call to SSPI failed, see inner exception.)
A call to SSPI failed, see inner exception.
Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
...
at /home/c4ffrey/Downloads/mono-5.12.0.226/external/boringssl/ssl/handshake_client.c:1132
https://www.myget.org/F/azure-appservice/api/v3/index.json: Unable to load the service index for source https://www.myget.org/F/azure-appservice/api/v3/index.json.
An error occurred while sending the request
Error: TrustFailure (A call to SSPI failed, see inner exception.)
A call to SSPI failed, see inner exception.
Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
at /home/c4ffrey/Downloads/mono-5.12.0.226/external/boringssl/ssl/handshake_client.c:1132
https://api.nuget.org/v3/index.json: Unable to load the service index for source https://api.nuget.org/v3/index.json.
An error occurred while sending the request
Error: TrustFailure (A call to SSPI failed, see inner exception.)
A call to SSPI failed, see inner exception.
Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
at /home/c4ffrey/Downloads/mono-5.12.0.226/external/boringssl/ssl/handshake_client.c:1132
我想出了一个解决方案,所以这主要是针对遇到同样问题的用户。
解决方案
上述问题的解决方案是在sudo cert-sync /etc/ssl/certs/ca-certificates.crt
将所需证书添加到您的系统时运行。
推荐阅读
- php - 如何在 php laravel 中将字符串转换为 HTML 代码?
- java - 我想在地图中存储一些 JSON 响应的数据
- django - 在 Django 中是否可以在反向相关对象查找中调用自定义 `QuerySet` 方法?
- c# - 如何使用 Linq 查询包含列表列表的列表,该列表包含包含对象列表的列表列表?
- tensorly - 如何从 tensorly 设计对 partial_tucker 函数的测试?
- c# - 如何在 Unity 中编写精灵之间的渐变过渡?
- android - 中国安卓设备杀死后台服务
- c# - 系统线程 Timer vs Scheduler
- java - 控制台中的 Java 路径漂亮输出集
- c# - Selenium Chrome,Ctrl+C 使 Chrome 无响应