error:x509 certificate signed by unknown authority when logging in OpenShift 4 using the installation kubeconfig file
Issue
- 当使用安装中的 kubeconfig (
auth/kubeconfig)以用户身份登录时,会显示一个错误:error: x509 certificate signed by unknown authority error. - 在尝试登录到集群时看到以下警告。
警告:使用不安全的 TLS 客户端配置。不支持设置这个选项! - 使用单独的 kubeconfig 允许记录,但新的 kubeconfig 不会包含 
system:admin用户的无密码登录的信息。 
Environment
- Red Hat OpenShift Container Platform
- 4
 
 
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.