theboyaply
theboyaply
发布于 2020-03-29 / 782 阅读
0
0

wget无法建立 SSL 连接

wget

wget命令用来从指定的URL下载文件。

无法建立 SSL 连接

这是因为 wget 在使用 HTTPS 协议时,默认会去验证网站的证书,而这个证书验证经常会失败。加上 --no-check-certificate 选项,就能排除掉这个错误。

添加 --no-check-certificate

wget --no-check-certificate https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.30.0/deploy/static/mandatory.yaml

评论