Ricevevo l'errore Problem with the SSL CA cert
durante la clonazione di un repository git.
[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?)
Problema con il certificato CA SSL
L'errore è dovuto al fatto che le CA radice standard non sono state installate, il che significa che git non è stato in grado di verificare i certificati SSL dei siti HTTPS.
La soluzione per risolvere il problema che ha funzionato per me è stata installare ca-certificates
pacchetto:
[root@vmforpbs ~]# yum install -y ca-certificates
Se il bundle ca-certificates è già installato e continua a non funzionare, segui quanto segue:
[root@vmforpbs ~]# update-ca-trust force-enable