Installation of certificate in GIT: הבדלים בין גרסאות בדף

מתוך ויקי נטפרי
קפיצה לניווט קפיצה לחיפוש
שורה 5: שורה 5:
  
 
{{Navigation|Security certificate}}
 
{{Navigation|Security certificate}}
 +
''''''Update: as of 3 May 2019, a [[Standard certificate installer|new certificate installation software]] was released, the new software automatically installs the certificate also in GIT'''<ref>At the moment, the tool is not yet running<code>git config --system http.sslbackend openssl</code></ref>'''.'''
  
Download the certificate of your Provider of NetFree from here.
 
http://netfree.link/netfree-ca.crt
 
Save it on the computer.
 
  
 +
Download this file [http://wiki.netfree.link/images/a/ac/Curl-ca-bundle.zip Curl-ca-bundle.zip] And extract its contents.
  
Then run the next command, of course you must put the correct address of the certificate in this place '''netfree-ca.crt'''
 
  
 +
Run the following command, depending on the location of the certificate file you extracted.
  
  git config --global http.sslCAInfo '''netfree-ca.crt'''
+
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
  
  
It should now work.
+
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
  
To uninstall the certificate run this command.
 
  
  git config --global --unset http.sslVerify
+
To embed existing certificates on your computer using git software, you can download the following file: [http://wiki.netfree.link/images/e/eb/WinCertsToPem.zip WinCertsToPem.zip] and run it.  
  
  
 
Credit to http://stackoverflow.com/a/16543283
 
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
  
 
----
 
----
שורה 55: שורה 72:
  
 
[https://www.sourcetreeapp.com/ SourceTree site]
 
[https://www.sourcetreeapp.com/ SourceTree site]
 +
<references />

גרסה מ־22:22, 29 באוקטובר 2019

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

To switch from edit view to read view

To search in the Wiki


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

'Update: as of 3 May 2019, a new certificate installation software was released, the new software automatically installs the certificate also in GIT[1].


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


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 


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 


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

  1. At the moment, the tool is not yet runninggit config --system http.sslbackend openssl