Installation of certificate in GIT

מתוך ויקי נטפרי
קפיצה לניווט קפיצה לחיפוש

לעברית לחצו כאן

To switch from edit view to read view

To search in the Wiki


Home page > Security certificate > Installation of certificate in GIT ‎‎


Download the certificate of your Provider of NetFree from here. http://netfree.link/netfree-ca.crt Save it on the computer.


Then run the next command, of course you must put the correct address of the certificate in this place netfree-ca.crt


 git config --global http.sslCAInfo netfree-ca.crt


It should now work.


To uninstall the certificate run this command.

 git config --global --unset http.sslVerify


Credit to http://stackoverflow.com/a/16543283




Another option is to set the SLL off, eliminating the need for a security certificate (a less recommended option).

To do this, run the following command::


 git config --global http.sslVerify "false"




SourceTree

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.


External links

Home page of Git

SourceTree site