Recently my workplace has updated the internet usage policies and imposed a Sophos security layer to monitor the traffic.
I am trying to clone a git repo (using
git clone command) but getting this following error
fatal: unable to access 'https://github.com/openssl/openssl.git/': SSL certificate problem: self signed certificate in certificate chain
This is "as implied" the Certificate problem. How can I get this working?
UPDATE1: Certificates are correct as they successfully work with browser(firefox) the question is to how to use these certificates to enable git SSL verification.
Copied the certificates taken from Firefox (export from Firefox > Preference > Privacy & Security > Certificates > View Certificates) to
Executed as root
c_rehash /etc/ssl/certs and
git config --system http.sslCAPath /etc/ssl/certs.
Produces following response. the cloning starts and dies mid-way
Cloning into 'openssl'... remote: Enumerating objects: 9, done. remote: Counting objects: 100% (9/9), done. remote: Compressing objects: 100% (8/8), done. fatal: The remote end hung up unexpectedly.89 MiB | 16.11 MiB/s fatal: early EOF fatal: index-pack failed