Nuget MonoDevelop安装:证书失败

Nuget MonoDevelop安装:证书失败,nuget,certificate,monodevelop,Nuget,Certificate,Monodevelop,在成功运行/.configure后尝试安装MonoDevelop 5.12.0.266时,我在尝试运行make时偶然发现一个错误。我正在运行parrot 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 packag

在成功运行
/.configure
后尝试安装MonoDevelop 5.12.0.266时,我在尝试运行
make
时偶然发现一个错误。我正在运行parrot 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
,因为它将所需的证书添加到您的系统中