[Container-tools] Only able to login in Openshift with --insecure-skip-tls-verify=true

Dusty Mabe dusty at dustymabe.com
Sat Sep 3 14:52:02 UTC 2016



On 09/02/2016 05:55 AM, Jan van de Klok wrote:
> Hello there,
>    I was wondering if anyone could give me a hint on how to fix the following problem with the Openshift CDK 2.1.0 on Ubuntu 16.04.
> After installing the CDK I cannot log in on the CDK console using my browser (firefox/Chrome)
> A login using the browser with url: https://10.1.2.2:8443/console results in the following error:
> 
> Unable to connect
> 
> Firefox can’t establish a connection to the server at 10.0.2.15:8443 <http://10.0.2.15:8443>.
> 
> A loging with OC client results in this error:
> [vagrant at rhel-cdk ~]$ oc login -u admin -p admin https://10.1.2.2:8443
> Unable to connect to the server: x509: certificate is valid for 10.0.2.15, 127.0.0.1, 172.17.0.1, 172.30.0.1, not 10.1.2.2
> [vagrant at rhel-cdk ~]$
> 

Looks like the cert was generated for the wrong address? 

In both of your attempts to connect you try to connect to 10.1.2.2 but
you get a message back about 10.0.2.15. I suspect this has something
to do with it. 

Maybe one of the guys on the CDK team have seen this before and can help 
get that resolved.

Dusty




More information about the Container-tools mailing list