Git problem with the SSL CA cert (path? access rights?)

Source: Internet
Author: User
Tags git clone

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?)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.