一切运行正常,但是当我尝试从图像存储安装图像时,它显示一些错误而不是图像,任何人都可以帮助我解决它:
错误 60:服务器证书验证失败。CAfile:/etc/ssl/certs/ca-certificates.crt CRLfile:无
答案1
快速且不安全的修复警告:此更改将禁用证书验证。使用风险自负。
在 PycURL 修复之前,您可以编辑文件 /usr/lib/python2.6/dist-packages/imagestore/lib/fetch.py 在第 142 行之后的 fetch 方法中添加
curl.setopt(pycurl.SSL_VERIFYPEER, 0)
curl.setopt(pycurl.SSL_VERIFYHOST, 0)
重新启动 image-store-proxy
并且更新godaddy证书:
sudo wget -P /usr/local/share/ca-certificates/ --no-check-certificate https://certs.godaddy.com/repository/gd-class2-root.crt https://certs.godaddy.com/repository/gd_intermediate.crt https://certs.godaddy.com/repository/gd_cross_intermediate.crt
sudo update-ca-certificates