GitHub unable to access HTTPS and SSL routines error

Are you facing the following Git and GitHub access error with multiple git repositories all of a sudden ?

HTTPS and SSL routines access Error:

E:\Nithi\Go_Workspace\GoSneppets>go get -u github.com/go-resty/resty
# cd .; git clone https://github.com/go-resty/resty  E:\Nithi\Go_Workspace\GoSneppets\src\github.com\go-resty\resty
Cloning into 'E:\Nithi\Go_Workspace\GoSneppets\src\github.com\go-resty\resty'...
fatal: unable to access 'https://github.com/go-resty/resty/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:
tlsv1  alert protocol version
Cause of the error:

Github has removed the following weak cryptographic standards:

  • TLSv1/ TLSv1.1 – All Https connections including web, API and Git connections
  • diffie-hellman-group1-sha1 – All SSH connections to github.com
  • diffie-hellman-group14-sha1 – All SSH connections to github.com
Solution for the problem:

You might be using older version of git. So update to new version of Git. In order avoid any conflicts better remove the previous installations before installing the newer one.

https://git-scm.com/download/win

guest
5 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Jarle Thorsen
Jarle Thorsen
3 years ago

good web site Jarle Thorsen Singapore

David
David
3 years ago

Fantastic. Thanks!

lavonda
lavonda
2 years ago

Hola! I’ve been reading your blog for a while now
and finally got the courage to go ahead and give you a shout
out from Austin Texas! Just wanted to mention keep up the fantastic job!

Peter
Peter
2 years ago

Thanks. It helped.

Leila
Leila
2 years ago

Thanks. This fixed my error.