DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 966,904 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Ashish Agarkar
Ashish Agarkar

Posted on

Answer: fatal: unable to access 'https://github.com/xxx': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

After reinstalling Git did nothing, I found an issue on GitHub that helped me solve it.

In your terminal run this command first:

git config --global http.sslBackend "openssl"

Then this one:

git config --global http.sslCAInfo "C:\Program Files\Git\mingw64\ssl\cert.pem"

You may need to change your path depending on where you have it…

Top comments (1)

Collapse
 
ashisha13 profile image
Ashish Agarkar Author • Edited on

I installed new version on Git 2.24.1 and not sure what I changed in between but I was not able to clone using https://, no push to server. It was only allowing it if I use my admin rights.

Below are the steps to resolve this issue::

1.In your terminal run this command first:
git config --global http.sslBackend "openssl"

  1. Then this one: path of your cert.pem: git config --global http.sslCAInfo "C:\Program Files\Git\mingw64\ssl\cert.pem"

That's all:)

🌚 Life is too short to browse without dark mode