Description of problem: Inconsistent behavior when "oc login" and "oc login https://api.<domain>" Version-Release number of selected component (if applicable): 4.10.13 How reproducible: 100% Steps to Reproduce: 1. Set KUBECONFIG parameter to the correct kubeconfig 2. oc login -u <user> Result: error: x509: certificate signed by unknown authority will be output. Expected behavior because $KUBECONFIG doesn't have Ingress CA 3. oc login -u <user> https://api.<domain>:6443 Result: The server uses a certificate signed by an unknown authority. You can bypass the certificate check, but any data you send to the server could be intercepted by others. Use insecure connections? (y/n): y Authentication required for https://api.ocp4.example.net:6443 (openshift) Username: admin Password: Login successful. This is unexpected behavior. The login should fail as same as "oc login -u admin" without api URL. Seems by specifying the api URL can bypass the Ingress CA check. Additional info: