Difference between revisions of "Development:Gitsslchecking"
From Jalview Wiki
(Created page with "=Disabling SSL certificate verification for Git/Egit/etc= If you find you cannot connect to https://source.jalview.org/git/jalview.git then it's probable that your client is ...") |
(→Disabling SSL for EGit) |
||
Line 14: | Line 14: | ||
For accessing the repository via the Eclipse EGit plugin : | For accessing the repository via the Eclipse EGit plugin : | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | # first install EGit - the Eclipse GIT plugin (should also install the JGit java git implementation). | |
− | repository explorer perspective. Remember to use | + | # Disable SSL certificate checking by either: |
− | + | :: a. Navigate to the Team->Git configuration in eclipse preferences and click the 'New entry...' button. Enter 'http.sslVerify' in the Name | |
+ | field, and 'false' in the value field. | ||
+ | :: Or | ||
+ | :: Press the 'Open' button to open the git config file, and add the lines (note spaces before sslVerify): | ||
+ | ''[http] | ||
+ | ''sslVerify = false | ||
+ | # Check you can access and clone the repository by using the Git repository explorer perspective. Remember to use | ||
+ | https://source.jalview.org/git/jalview.git as the repository URL. |
Revision as of 12:59, 11 September 2014
Disabling SSL certificate verification for Git/Egit/etc
If you find you cannot connect to https://source.jalview.org/git/jalview.git then it's probable that your client is having problem with the repository's SSL certificate. That means you'll need to disable SSL cert verification for your git client.
Disabling SSL on the command line git
To do this for the git command line client, you should set : GIT_SSL_NO_VERIFY=1 in your environment when you access the jalview git repository. e.g. : GIT_SSL_NO_VERIFY=1 git clone https://source.jalview.org/git/jalview.git
Disabling SSL for EGit
For accessing the repository via the Eclipse EGit plugin :
- first install EGit - the Eclipse GIT plugin (should also install the JGit java git implementation).
- Disable SSL certificate checking by either:
- a. Navigate to the Team->Git configuration in eclipse preferences and click the 'New entry...' button. Enter 'http.sslVerify' in the Name
field, and 'false' in the value field.
- Or
- Press the 'Open' button to open the git config file, and add the lines (note spaces before sslVerify):
[http] sslVerify = false
- Check you can access and clone the repository by using the Git repository explorer perspective. Remember to use
https://source.jalview.org/git/jalview.git as the repository URL.