Looks like an invalid cert. See https://github.com/golang/go/issues/15407
for details.

On Wed, Jul 19, 2017 at 5:00 AM, Per Carlson <[email protected]> wrote:

> When trying to login to a (new) OCP 3.5 cluster, oc emits this error:
>
> error: tls: failed to parse certificate from server: parsing time
> "201710010000Z" as "20060102150405Z0700": cannot parse "Z" as "05"
>
> ​The certificate (which I got via "openssl s_client") has got: ​
>
> Validity
>   Not Before: Jul 13 00:00:00 2017 GMT
>   Not After : Oct  1 00:00:00 2017 GMT
> ​
> So, if openssl can parse the timestamps, why can't oc?
> ​
> The cert comes from the external F5 load balancing the masters.
>
> ​$ oc version
> oc v3.5.5.24
> kubernetes v1.5.2+43a9be4
> features: Basic-Auth GSSAPI Kerberos SPNEGO
>
>
> --
> Pelle
>
> Research is what I'm doing when I don't know what I'm doing.
> - Wernher von Braun
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to