MonoDevelop安装:证书验证失败

3

在成功运行了/.configure之后,我尝试安装MonoDevelop 5.12.0.266,但在尝试运行make时遇到了一个错误。我正在运行的是parrot 4.14.0-parrot13-amd64。以下是TraceBack:

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

我想出了一个解决方案,所以这篇文章主要是为那些遇到同样问题的用户准备的。

1个回答

4
解决上述问题的方法是运行 sudo cert-sync /etc/ssl/certs/ca-certificates.crt,它会将所需的证书添加到您的系统中。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接