A variety of SSL certificate problem solutions are present when executing git commands

Source: Internet
Author: User
Tags ssl certificate self signed certificate using git git commands

Like I'm using Git clone giturl under Windows.

Just prompt for SSL certificate problem:self signed Certificate

This problem occurs more frequently in Windows. I guess the main thing is that git itself is Linux-based, and on Windows, it's easy to miss some environments.

Referring to some articles, the solution is "directly regardless of SSL certificate"-_-| | |

Here's how:

1. Create a temporary environment variable:

command line input on Windows:

  1. Set Git_ssl_no_verify=true GIT Clone

Under Linux:

  1. Env Git_ssl_no_verify=true GIT Push

Here clon can switch to other GIT commands as needed.

You can also change the temporary environment variable to permanent, anyway, never verify the SSL certificate is no risk ...

2. The configuration command that comes with git:

  1. git config--global http.sslverify false


Problem solving.

A variety of SSL certificate problem solutions are present when executing git commands

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.