git - 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”
[1] 7476
克隆到 'netmiko'...2 MINGW64 ~
$ cd 致命:无法访问“ https://github.com/ktbyers/netmiko/ ”:错误:1425F175:SSL 例程:ssl_choose_client_version:不适当的后备
我怎样才能解决这个问题?
解决方案
从 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 ,它对我来说很好用。
推荐阅读
- php - WooCommerce 订单相关预订的自定义电子邮件主题占位符
- c# - 根据另一个列表的顺序对列表进行排序
- python - 如何在 html 中查找具有“赞助帖子”类的元素?
- python - 将星期几插入 Python 数据框中
- python - 当除数和/或被除数是浮点数时,为什么 Python 地板除法会返回浮点数?
- excel - 匹配单元格(使用 Vlooking、索引、匹配)
- python - NumPy 数组形状错误的维度
- java - 如何阻止 maven-assembly-plugin 在 windows 上的 eclipse 中使用旧版本
- javascript - TypeError:无法读取未定义的属性“长度”(第 13 行,文件“代码”)
- multithreading - Golang中偏移值的循环实现,用于从couchbase n1ql查询中获取的记录数