linux下dotnet restore报SSL证书错误
linux下dotnet restore报SSL证书错误:
- + dotnet restore
- /usr/share/dotnet/sdk/2.1.802/NuGet.targets(123,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [/var/lib/jenkins/workspace/api-deploy/api.src/Yoga.sln]
- /usr/share/dotnet/sdk/2.1.802/NuGet.targets(123,5): error : The SSL connection could not be established, see inner exception. [/var/lib/jenkins/workspace/api-deploy/api.src/Yoga.sln]
- /usr/share/dotnet/sdk/2.1.802/NuGet.targets(123,5): error : The remote certificate is invalid according to the validation procedure. [/var/lib/jenkins/workspace/api-deploy/api.src/Yoga.sln]
- Build step 'Execute shell' marked build as failure
使用curl https://www.baidu.com访问https时,报SSL错误:
- curl 77 Problem with the SSL CA cert
解决办法:
============ 欢迎各位老板打赏~ ===========
与本文相关的文章
- · macOS Charles 4.x版本的安装及使用(含破解激活)
- · foxmail增加gmail报SSL错误
- · centos安装node18
- · The instance of entity type ‘Customer’ cannot be tracked because another instance with the same key value for {‘Id’} is already being tracked.
- · .NET8实时更新nginx ip地址归属地
- · 解决.NET Blazor子组件不刷新问题
- · nginx日志按天分割
- · .NET8如何在普通类库中引用 Microsoft.AspNetCore
- · 解决Linux实例磁盘空间满问题
- · .NET8 Mysql SSL error
- · ASP.NET Core MVC的Razor视图渲染中文乱码的问题
- · centos yum安装Python3.8(史上最简单)