...
Note |
---|
Most tutorials will tell you to do it this way, but I have never gotten it to work: Code Block |
---|
oc login -u system:admin |
Usually, you'll get an error like so: Code Block |
---|
[bandersen@li1397-60 ~]$ oc login -u system:admin
Server [https://localhost:8443]:
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://localhost:8443 (openshift)
Username: system:admin
Password:
error: username system:admin is invalid for basic auth
[bandersen@li1397-60 ~]$ |
|
The best way is actually to follow the advice here.