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

Subscribe
Notify of
guest

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

good web site Jarle Thorsen Singapore

David
David
5 years ago

Fantastic. Thanks!

lavonda
lavonda
5 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
5 years ago

Thanks. It helped.

Leila
Leila
5 years ago

Thanks. This fixed my error.