I am having this error when trying to clone from GitHub.
One workaround is to add
-c http.sslVerify=false to the git command line, but this introduces security problems.
I have found online that I have to apply this configuration to git:
git config --system http.sslCAPath /absolute/path/to/git/certificates
/absolute/path/to/git/certificates is a path that points to a CA certificate bundle.
However, when I try to run that command I get this error:
error: could not lock config file /rsusr/ported/etc/gitconfig: EDC5129I No such file or directory.
The problem here is that I do NOT have rocket software tools installed into that directory.
Instead, I have them installed into /bkde/rocket, and all the GIT_* environment variables point there:
SIGDC@BVLSYSA [~/]$ env |grep -i git GIT_SHELL=/bkde/rocket/bin/bash GIT_MAN_PATH=/bkde/rocket/man GIT_TEMPLATE_DIR=/bkde/rocket/share/git-core/templates GIT_EXEC_PATH=/bkde/rocket/libexec/git-core
So why is git looking into
/rsusr/ported/etc/ (which I suppose is the default hard-coded path when GIT_* env vars are not set)??