【发布时间】:2018-12-03 13:01:40
【问题描述】:
Bitbacket shutdown TLS v1.0 & v1.1。由于旧的 Git,我们的 Jenkins 失败了:
git --version
git version 1.8.2.3
+ GIT_CURL_VERBOSE=1
+ git ls-remote https://bitbucket.org/
* Couldn't find host bitbucket.org in the .netrc file, using defaults
* About to connect() to bitbucket.org port 443
* Trying 18.205.93.1... * connected
* Connected to bitbucket.org (18.205.93.1) port 443
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* Unknown SSL protocol error in connection to bitbucket.org:443
我查看了 Git 发行说明:
git clone --depth=1 https://github.com/git/git
并没有发现任何关于 TLS v1.2 支持的信息:
cd git/Documentation/RelNotes
grep TLS
我应该告诉系统管理员哪个版本的 Git 最低支持 TLS v1.2?
注意我们在我们的基础设施中不是热门,请不要说更新到昨天的版本...
注意 2 我可能会错过 Git 内部和其他操作系统库可能会影响 TLS v1.2 支持。
【问题讨论】:
-
听起来很奇怪。我从 bitbucket 收到了关于 TLS 迁移的相同通知。我没有在我的服务器(ubuntu)中制作任何东西,并且一切都按预期工作。也许重新安装 git 可能是解决方案。