[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: system:admin login still asking for password



system:admin can only log in with certificate authentication.  If you
have the original admin.kubeconfig file, it will have those certs in
it and -u would switch to using them.  In your case, your kubeconfig
file probably doesn't have that info.  Look for your original
admin.kubeconfig file

> On Feb 10, 2016, at 7:00 AM, Gonzalo Moya <gemoya inf utfsm cl> wrote:
>
>
> Hi,
>
> I build a docker image from github Dockerfile of Openshift Origin.
> when I try to login as system:admin with
>
> `[root localhost origin]# oc login -u system:admin
> Authentication required for https://localhost:8443 (openshift)
> Username: system:admin
> Password:
> error: username system:admin is invalid for basic auth`
>
> origin asks for user password but system:admin is with credentials.
> Also I tried with flags: --certificate-authority=/path/to/cert.crt but still asking for a password..
>
> docker logs:
>
> `W0210 11:57:33.038079    5223 container_manager_linux.go:272] [ContainerManager] Failed to ensure state of "/docker-daemon": [failed to move PID 5294 (in "/") to "/docker-daemon", failed to move PID 5017 (in "/system.slice/docker.service") to "/docker-daemon"]
> 2016-02-10 11:57:33.600988 I | http: TLS handshake error from 127.0.0.1:52055: remote error: bad certificate`
>
> Some ideas?
>
> Greetings!
>
> --
> Gonzalo Moya R.
>
> _______________________________________________
> users mailing list
> users lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]