首页 > 解决方案 > Windows10 git clone https://github.com/ktbyers/netmiko” 致命错误

问题描述

按照这些说明( https://www.jaacostan.com/2018/09/how-to-install-netmiko-on-windows.html)在 Windows 10 上使用 netmiko 安装 python 时,我遇到了很多 ssl 错误我们的公司网络。

我知道我们的浏览器有 Aries Root 证书,我确实将它下载到我的桌​​面,但还不知道如何处理它。

我现在在 git bash 中遇到了这个错误:

$ git clone https://github.com/ktbyers/netmiko&#8221

[1] 7476
克隆到 'netmiko'...

2 MINGW64 ~
$ cd 致命:无法访问“ https://github.com/ktbyers/netmiko/ ”:错误:1425F175:SSL 例程:ssl_choose_client_version:不适当的后备

我怎样才能解决这个问题?

标签: git

解决方案


从 Windows 7 升级到 10 后,我遇到了类似的问题,我通过以下操作解决了它。

在 git bash 中,运行以下命令

$ git config --global http.sslVerify false
$ git config --global http.sslBackend openssl
$ git config --global http.sslbackend schannel
$ git config --global http.sslVersion tlsv1.2

现在做 git clone ,它对我来说很好用。


推荐阅读