Open FumingD opened 1 year ago
It seems that your server does not trust the x509 certificate.
If the issue is caused by a self-signed certificate, you can try the following steps on CentOS 7:
Copy the certificate file to the system:
$ sudo cp /path/to/certfile /etc/pki/ca-trust/source/anchors/
Update the certificate trust list:
$ sudo update-ca-trust
or
$ sudo update-ca-trust force-enable
Note: If force-enable does not solve the problem, try disabling all old certificates and CA certificates to disabled state:
$ sudo update-ca-trust disable
and then repeat the following command:
$ sudo update-ca-trust force-enable
Restart the server:
$ sudo reboot
The self-signed certificate will be added to the trust list of the operating system, and you can now use it normally on CentOS 7.
What is version of KubeKey has the issue?
3.0.7
What is your os environment?
centos 7.9
KubeKey config file
A clear and concise description of what happend.
这个bug是在这个bug(https://github.com/kubesphere/kubekey/issues/1846),后续将harbor配置了https后出现的。 (好折腾啊,kubesphere的开发同事们,能一起看看我提出的问题不?这两天搞不定,我恐怕不得不尝试kubeadm 或者kubepray来部署了),说下我的操作步骤:
Relevant log output
Additional information
No response