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:
[Plain]View PlainCopy
- Set Git_ssl_no_verify=true GIT Clone
Under Linux:
[Plain]View PlainCopy
- Env git_ssl_no_verify=true git push executes git command with various SSL certificate problem solutions
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:
[Plain]View PlainCopy
- git config--global http.sslverify false
FW implementation git command when a variety of SSL certificate problem solution