MonoDevelop安装:证书失败

时间:2018-05-16 07:37:40

标签: nuget certificate monodevelop

在成功运行/.configure后尝试安装MonoDevelop 5.12.0.266时,我在尝试运行make时偶然发现错误。我正在运行鹦鹉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 个答案:

答案 0 :(得分:2)

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