Problem
Tried running Eric Schabell’s CDK demo on OS X. But I got this error message:
Unable to connect to the server: x509: certificate has expired or is not yet valid
Solution
(Rather a workaround): Change ‘install.sh’
oc login 10.1.2.2:8443 --password=admin --username=admin
to
oc login 10.1.2.2:8443 --password=admin --username=admin --insecure-skip-tls-verify=true
Leave a Reply