MonoDevelop 安装:证书失败
MonoDevelop Install: Certificate Failure
在成功 运行 宁 /.configure
后尝试安装 MonoDevelop 5.12.0.266 时,我在尝试 运行 make
时偶然发现了一个错误。我是 运行ning 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
,因为它会向您的系统添加所需的证书。
在成功 运行 宁 /.configure
后尝试安装 MonoDevelop 5.12.0.266 时,我在尝试 运行 make
时偶然发现了一个错误。我是 运行ning 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
,因为它会向您的系统添加所需的证书。