关于 虚拟机git突然出现“.git/‘: SSL certificate problem: certificate is not yet valid”导致无法同步代码 的解决方法

这篇具有很好参考价值的文章主要介绍了关于 虚拟机git突然出现“.git/‘: SSL certificate problem: certificate is not yet valid”导致无法同步代码 的解决方法。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

若该文为原创文章,转载请注明原文出处
本文章博客地址:https://hpzwl.blog.csdn.net/article/details/132143989文章来源地址https://www.toymoban.com/news/detail-759420.html

红胖子(红模仿)的博文大全:开发技术集合(包含Qt实用技术、树莓派、三维、OpenCV、OpenGL、ffmpeg、OSG、单片机、软硬结合等等)持续更新中…(点击传送门)

Qt开发专栏:各种问题解决(点击传送门)


问题

  虚拟机的副本卸载git之后主虚拟机git出现ssl错误“fatal: unable to access ‘https://gitee.com/hongpanzi/infoVacuoDemo.git/’: SSL certificate problem: certificate is not yet valid“,如下图:
  关于 虚拟机git突然出现“.git/‘: SSL certificate problem: certificate is not yet valid”导致无法同步代码 的解决方法,git,ssl,网络协议


原因

  ssl加密错误,是否是副本B卸载git从而改了云端不得而知,因为复制之后是可以的,副本卸载git打包之后,主虚拟机就不行了。


解决方法

  配置不使用ssl认证:

git config --global http.sslVerify false
git push

  关于 虚拟机git突然出现“.git/‘: SSL certificate problem: certificate is not yet valid”导致无法同步代码 的解决方法,git,ssl,网络协议


若该文为原创文章,转载请注明原文出处
本文章博客地址:https://hpzwl.blog.csdn.net/article/details/132143989

到了这里,关于关于 虚拟机git突然出现“.git/‘: SSL certificate problem: certificate is not yet valid”导致无法同步代码 的解决方法的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Git SSL certificate problem: unable to get local issuer certificate

    错误:     Push failed             Unable to access \\\'https://github.com/ttsin/gitTest.git/\\\': SSL certificate problem: unable to get local issuer certificate 你在远程访问GitHub时,出现 这个错误通常表示Git无法验证GitHub的SSL证书,因为缺少本地颁发机构(CA)的根证书。 方法一: 1. 更新Git的CA证书:

    2024年02月14日
    浏览(33)
  • Git Clone 报错 `SSL certificate problem: unable to get local issuer certificate`

    如果您在尝试克隆Git存储库时得到 “SSL certificate problem: unable to get local issuer certificate” 的错误,这意味着Git无法验证远程存储库的SSL证书。如果SSL证书是自签名的,或者SSL证书链有问题,就会发生这种情况。 想要修复这个错误,可以尝试以下解决方案: 一、 禁用SSL验证: 一般

    2024年02月07日
    浏览(37)
  • git操作出错显示fatal: unable to access ‘https://github.com/xxxx/xxxx.git/‘: SSL certificate problem:

    每次操作完git clone都显示如下内容 Cloning into ‘xxxx’… fatal: unable to access ‘https://github.com/YOUR-USERNAME/YOUR-REPOSITORY.git/’: SSL certificate problem: unable to get local issuer certificate 包括git push以后也同样报错fatal:unable to… 这里提供一种解决错误的办法,符合条件即可使用 二者解决方式

    2024年02月04日
    浏览(47)
  • 【unable to access ‘https://github.com/用户名/仓库名.git/‘: SSL certificate problem 解决的问题】

    翻译过来就是Fisheye/Crucible服务器不能识别git的SSL证书,所以操作停止执行 执行下面命令即可: git config --global http.sslVerify false

    2024年02月15日
    浏览(31)
  • 如何解决 fatal: unable to access ‘https://github.com/Geekwaner/vue3-.git/‘: SSL certificate problem: una

    这个错误通常表示 SSL 证书有问题,导致无法访问 HTTPS 的远程仓库。解决这个问题有几种方法: 使用 SSH 协议而非 HTTPS 协议克隆仓库: 这种方式需要先将 SSH Key 添加到 GitHub 账户中。 忽略 SSL 证书验证问题(不推荐): 这种方式会跳过 SSL 证书的验证,存在一定的风险,不建

    2024年02月04日
    浏览(51)
  • CURL error 60: SSL certificate problem: certificate has expired

    项目使用guzzleHttp做的一个接口,报错:certificate has expired 因为在linux centos环境与window环境有所不同,在此记录一下解决过程。   目录 报错提示 原因 解决方式 1.去掉guzzlehttp的验证 2.更新CA证书 总结 cURL error 60: SSL certificate problem: certificate has expired (see https://curl.haxx.se/libcurl/

    2024年02月02日
    浏览(35)
  • SSL certificate problem: unable to get local issuer certificate解决办法

    在github上用https克隆代码时报了如下错误 这是由于当你通过HTTPS访问Git远程仓库的时候,如果服务器上的SSL证书未经过第三方机构认证,git就会报错。原因是因为未知的没有签署过的证书意味着可能存在很大的风险。解决办法就是通过下面的命令将git中的sslverify关掉: 然后在

    2024年02月11日
    浏览(32)
  • SSL certificate problem: self signed certificate in certificate chain错误的全网详细解决方法

    今天使用 git clone xxx.git 项目时,却报出如下的错误信息: 即 SSL certificate problem: self signed certificate in certificate chain 错误。 正赶上最近 ChatGPT 比较火,可以借助它来分析错误,如下图所示: This problem occurs when the SSL certificate presented by the server is not signed by a trusted certificate aut

    2024年02月07日
    浏览(33)
  • curl: (60) SSL certificate problem: self-signed certificate in certificate chain解决

    从本地电脑上使用curl请求后端服务器api的时候报下面错误: 导致错误的原因: 默认情况下,curl 会尝试根据系统上安装的默认CA验证 SSL 证书, 但是我们的server上的证书是在内网的CA申请的,本地电脑上没有相应根证书,所以验证失败。 解决方案: 使用 curl -k , 跳过证书验证,

    2024年02月03日
    浏览(33)
  • curl请求https证书过期的问题:SSL certificate problem: certificate has expired

    写了两个系统,系统A使用 curl 去请求系统B,但是不知道为什么会报错 SSL certificate problem: certificate has expired 系统A使用了 https 但是系统B没有使用 https 系统A的SSL并未过期,而且在两个系统在同一台服务器时并未报错,所以不是SSL证书的问题 解决办法: 关闭curl对证书验证,可

    2024年02月16日
    浏览(37)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包