git Problem with the SSL CA cert (path? access rights?)

问题:

[[email protected] opt]# git clone https://github.com/docker/docker.git
正克隆到 ‘docker‘...
fatal: unable to access ‘https://github.com/docker/docker.git/‘: Problem with the SSL CA cert (path? access rights?)

解决方法:

1,查看是否存在ca-bundle.crt

[[email protected] opt]# ls /etc/pki/tls/certs/ca-bundle.crt
/etc/pki/tls/certs/ca-bundle.crt

2,如果存在,则可能是/etc/pki/tls/certs/ca-bundle.crt 过期。

3,查看该证书对应安装包

[[email protected] opt]# rpm -qf /etc/pki/tls/certs/ca-bundle.crt
ca-certificates-xxx.noarch
4,更新或重装ca-certificates

[[email protected] opt]# yum install ca-certificates
ca-certificates-xxx.noarch

重新git clone,OK!

参考:http://dev.webdizainers.lv/articles/red-hat-problem-with-the-ssl-ca-cert

时间: 2024-12-28 16:21:30

git Problem with the SSL CA cert (path? access rights?)的相关文章

PHP Problem with the SSL CA cert (path? access rights?)

开发遇到问题,直接使用系统的curl命令正常,使用php的curl模块报错 错误:PHP Problem with the SSL CA cert (path? access rights?) 解决方法: 1.安装 yum reinstall openssl ca-certificates -y 2.重启php

解决PHP curl https时error 77(Problem with reading the SSL CA cert (path? access rights?))

服务器环境为CentOS,php-fpm,使用curl一个https站时失败,打开curl_error,捕获错误:Problem with reading the SSL CA cert (path? access rights?) 解决方案:1. sudo yum install ca-certificates (无论有没有,安装确认一下) 2. 重启php-fpm,这步比较重要,更改底层的东西时一定要重启一下 3. curl时设置:curl_setopt($ch, CURLOPT_SSL_V

error: SSL certificate problem, verify that the CA cert is OK

error: SSL certificate problem, verify that the CA cert is OK. Details:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com**** 解决办法 git config --global http.sslVerify false error: SSL c

[Git]Please make sure you have the correct access rights and the repository exists

这个问题是这样,需要在已有github账号的A机器上,再创建一个github账号,新账号创建完毕,将代码通过机器A push上之后,再另一台机器B,clone 这个项目时报出了如下错误: Permission denied (publickey).fatal: Could not read from remote repository. 解决方式是: 在clone代码的时候要使用https的形式. https://github.com/accountName/projectname.git 另外

How to import the www.googleapis.com SSL CA certification to the jks store file?

Assumed that you have installed JDK and configured JAVA_HOME for your current operation system. (1) Exported the Google SSL certifications from the www.googleapis.com server using 443 port as the below path:  take D:\GoogleSSL\ for example and named

extract the CA cert for a particular server

Ignore Peer SSL certificate verification  libcurl performs peer SSL certificate verification by default. This is done by using a CA certificate store that the SSL library can use to make sure the peer's server certificate is valid. If you communicate

git提交报错SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

git push报错 git push origin master [email protected] /e/git/ouyida3/ouyida3.github.io (master) $ git push origin master fatal: unable to access 'https://github.com/ouyida3/ouyida3.github.io.git/': err or:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tl

PHP 配置默认SSL CA证书

1.从CURL 官网下载CA 证书(当然也可以选择自己创建SSL CA证书,详情参考 https://blog.csdn.net/scuyxi/article/details/54898870 ,或自行百度) CA 证书下载地址:https://curl.haxx.se/docs/caextract.html 页面去选择下载 或:https://curl.haxx.se/ca/cacert.pem 2.在PHP安装目录下新建一个文件夹cacert 来存放CA证书 修改php.ini配置 启用op

windows 部署 git 服务器报 Please make sure you have the correct access rights and the repository exists.错误

这两天在阿里云上弄windows 服务器,顺便部署了一个git服务.根据网上教程一步步操作下来,最后在 remote远程仓库的时候提示 fatal: 'yourpath/test.git' does not appear to be a git repositoryfatal: Could not read from remote repository. Please make sure you have the correct access rightsand the repository e