I was getting the error Problem with the SSL CA cert
while cloning a git repository.
[root@vmforpbs ~]# git clone https://github.com/adaptivecomputing/torque.git Cloning into 'torque'... fatal: unable to access 'https://github.com/adaptivecomputing/torque.git/': Problem with the SSL CA cert (path? acc ess rights?)
Problem with the SSL CA cert
The error is because the standard root CAs weren’t installed, meaning that git couldn’t verify the SSL certificates of HTTPS sites.
The solution to fix the issue which worked for me was to install ca-certificates
bundle:
[root@vmforpbs ~]# yum install -y ca-certificates
If the ca-certificates bundle is already installed and still didn’t work, follow the below:
[root@vmforpbs ~]# update-ca-trust force-enable