简体   繁体   English

在 9 月 30 日 LetsEncrypt 证书到期之前,'git' 在 Ubuntu 20.04 上被破坏了吗?

[英]Is 'git' broken on Ubuntu 20.04 by the 30 sept LetsEncrypt certificate expiry?

I'm seeing this on a few recent Ubuntu 20.04 installs and trying to see if this is still my fault in some way, as the Inte.net is (yet) still silent about this..我在最近的一些 Ubuntu 20.04 安装中看到了这一点,并试图以某种方式查看这是否仍然是我的错,因为 Inte.net(还)对此仍然保持沉默。

root@hz-hel1-1-ci1:/tmp# GIT_CURL_VERBOSE=1 git clone https://gitlab.gnome.org/GNOME/gnome-2048.git
Cloning into 'gnome-2048'...
* Couldn't find host gitlab.gnome.org in the .netrc file; using defaults
*   Trying 8.43.85.27:443...
* TCP_NODELAY set
* Connected to gitlab.gnome.org (8.43.85.27) port 443 (#0)
* found 387 certificates in /etc/ssl/certs
* ALPN, offering h2
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification failed. CAfile: none CRLfile: none
* Closing connection 0
fatal: unable to access 'https://gitlab.gnome.org/GNOME/gnome-2048.git/': server certificate verification failed. CAfile: none CRLfile: none

git can't even connect. git连不上。 I see this on all https hosts who have a letsencrypt certificate.我在所有拥有 letsencrypt 证书的 https 主机上看到了这一点。 I suspect this is related to the root certificate expiry today, but as far as I understood it should affect things like Centos 7 and other older devices, not Ubuntu.我怀疑这与今天的根证书到期有关,但据我了解,它应该会影响 Centos 7 和其他旧设备,而不是 Ubuntu。

curl itself works fine, i'm still chasing down git's dependencies here to narrow it down. curl 本身工作正常,我仍然在这里追查 git 的依赖项以缩小范围。

Thanks for the hints, an apt-get update/upgrade cycle fixed it.感谢提示,apt-get 更新/升级周期修复了它。

I guess today's lesson is that even though you created that VM yesterday or that docker image you pulled was updated just today, doesn't mean the images they were created from were actually up to date.我想今天的教训是,即使您昨天创建了那个 VM,或者您拉取的 docker 图像今天才更新,但这并不意味着创建它们的图像实际上是最新的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM