Installation of certificate in GIT

מתוך ויקי נטפרי
גרסה מ־21:12, 31 באוקטובר 2018 מאת שלו' (שיחה | תרומות) (יצירת דף עם התוכן "<div lang="en" dir="ltr" class="mw-content-ltr"> <div lang="he" dir="rtl"> לעברית לחצו כאן </div> <div lang="en"...")
(הבדל) → הגרסה הקודמת | הגרסה האחרונה (הבדל) | הגרסה הבאה ← (הבדל)
קפיצה לניווט קפיצה לחיפוש

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

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