【发布时间】:2021-06-29 08:58:32
【问题描述】:
我正在按照官方 kubernetes 文档在我的集群 https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/ 上安装 kubeadm,但是当我尝试下载 Google Cloud 公共签名密钥时出现以下错误:
我正在运行“Ubuntu 20.04.2 LTS”
$ sudo curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
你能建议吗?谢谢
【问题讨论】:
-
听起来您正在使用一个拦截代理,并且未能将其 MITM CA 添加到主机的受信任存储中——如果这是真的,下载 gpg 密钥将是最少的您将遇到的问题。您还需要在 ServerFault.com 上询问系统管理问题,因为这不是编程问题
标签: kubernetes kubeadm