GitHub Error SSL ROUTINES:SSL23_GET_SERVER_HELLO:TLSV1 alert Protocol Version_git

Source: Internet
Author: User

First, the error information

Fatal:unable to access ' https://github.com/huihut/interview.git/': Error:1407742e:ssl routines:ssl23_get_server_ HELLO:TLSV1 Alert Protocol version
pushing to Https://github.com/huihut/interview.git

Second, the reason

On February 22, 2018 19:00 UTC (Pacific Standard Time Morning 11:00), GitHub stopped supporting encryption of the weak TLS 1.0 and 1.1 protocols and only supported connections to TLS 1.2 protocols.

Official statement:
Github. Weak Cryptographic Standards Removal notice

Therefore, if your git connection is still TLS 1.0 or 1.1, you will get an error.

Iii. Solutions View your version of TLS

git config--global--list

If you are still TLS 1.0 or 1.1, download the update Git latest version: https://git-scm.com/

Update TLS After installing the latest version of Git

git config--global--unset http.sslversion
git config--global--add http.sslversion tlsv1.2

You can now use TLS 1.2 for transport and resolve this issue

Action as follows: Write link content here

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.