GitKraken And Github - failed to get server certificate: The handle is in the wrong state for the requested operation

妖精的绣舞 提交于 2019-12-03 06:52:05
Štāls Ingus

This is because Github removed weak cryptophic standard support (TLSv1 and TLSv1.1) - source

All you have to do on Windows devices (mostly on Windows 7) is set default TLS version to 1.2 - link

Step-by-step fix

  1. Download the kb3140245 update from Microsoft, which is necessary to enable TLS 1.1 and TLS 1.2.
  2. Download the easy fix utility from Microsoft and run it.
  3. Restart your system. Everything should work fine. There might be issues with some websites etc, just rebooting your router should resolve any issues that might arise.

This broke me for a long time.

In gitkraken, go to the left window where "origin" is on your respective repos, click the three dots over flow and click "edit origin", make sure your pull & push urls are ssh or http NOT https.

Same issue here, same setup, also worked fine before (last week). (gitkraken latest / win7 64bit)
The only solution i found was to completely remove the repo, and clone it again.
Not sure about the reasons. :(

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!