Workaround for SSL certificate error
By default, SSH is the method of choice for secure git operations on the OpenVT platform. Technically it is also possible to use SSL via https. However,recently in some cases an error occurred:
SSL certificate problem: unable to get local issuer certificate
This is due to a problem with the SSL certificate, which we are working on. Until the problem is fixed, we recommend not to use SSL for git actions. If you still would like to do so, it is possible to locally disable the SSL certificate verification for certain repositories only. The way to do that is the following:
- cd into the directory on your computer where the clone of a certain OpenVT repository is located
- in order to check whether the error actually occurs, do a
git pull.
If the above error message does not pop up, there is nothing to do. - If it does, locally disable SSL check:
git config --local http.sslVerify false
- Check the git configuration:
git config --list
should yield (amongst other settings)http.sslverify=false
- If this is the case, try to
git pull
again: You should be asked for your username and password now.
If you still encounter problems, please contact the platform admin with the issue tracking board of this repository.
The above workaround has to be done for each repository separately. It is also possible to globally disable SSL checking for all repositories: Just replace --local
with --global
in the above. However, this affects all git repositories that you are working with, also those not located in the OpenVT platform. Therefore, we strongly recommend you not to do that.