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.