Problem:
[[email protected] opt]# git clone https://github.com/docker/docker.git
Cloning to ' Docker ' ...
Fatal:unable to access ' https://github.com/docker/docker.git/': Problem with the SSL CA cert (path? access rights?)
Workaround:
1, to see if there is ca-bundle
.crt
,
[Email protected] opt]# LS/ETC/PKI/TLS/CERTS/CA-BUNDLE.CRT
/etc/pki/tls/certs/ca-bundle.crt
2, if present, it is possible that the /ETC/PKI/TLS/CERTS/CA-BUNDLE.CRT expires.
3. View the certificate corresponding to the installation package
[Email protected] opt]# RPM-QF/ETC/PKI/TLS/CERTS/CA-BUNDLE.CRT
Ca-certificates-xxx.noarch
4, update or reload Ca-certificates
[email protected] opt]# Yum install ca-certificates
Ca-certificates-xxx.noarch
Re-git clone,ok!
Reference: Http://dev.webdizainers.lv/articles/red-hat-problem-with-the-ssl-ca-cert
Git problem with the SSL CA cert (path? access rights?)