לעברית לחצו כאן
Download this file Curl-ca-bundle.zip And extract its contents.
Run the following command, depending on the location of the certificate file you extracted.
In Windows systems, in case you have installed the security certificate installation software, the file exists at the following location: "C:\ProgramData\NetFree\CA\netfree-ca-bundle-curl.crt"
git config --global http.sslCAInfo /path/to/netfree-ca-bundle-curl.crt
If this doesn't work, you may need to use Command Prompt/Powershell and not bash, or try to change the slashes in the file path from "\" (the way Windows displays them) to "/" (the way Linux displays them and bash expects them)
The Windows system also needs to run:
git config --global http.sslbackend openssl
If you want to cancel the operation, run:
git config --global --unset http.sslCAInfo
⚠ If you use a git graphical client, sometimes the
git command is not installed globally. To run the above commands you need to find the path to the git.exe file and write the entire path (inside quotation marks) instead of the word
To embed existing certificates on your computer using git software, you can download the following file: WinCertsToPem.zip and run it.
Credit to http://stackoverflow.com/a/16543283
Another option, cancel the SLL, which eliminates the need for a security certificate (less recommended option).
To do this, run the following command:
git config --global http.sslVerify "false"
If you want to cancel the operation, run:git config --global --unset http.sslVerify
When working with SourceTree software (GIT Graphic Client, link), You can also specify in the settings not to use ssl - then there is no need to install the certificate,
The check will be done when entering the menu Tools > Options > Git Select Disable SSL certificate validation.
- At the moment, the tool is not yet running
git config --system http.sslbackend openssl