Openshift 4.2 - Unable to connect to the server: x509: certificate has expired or is not yet valid

11/28/2019

I tried to create a cluster in Openshift 4.2 (RHCOS) environment. I have own local DNS server and HA proxy server. I created 3 master and 2 worker nodes in VMware Environment as per the documentation. At the end of the new cluster creation I'm getting an error :

Unable to connect to the server: x509: certificate has expired or is not yet valid

Does anyone have an idea why am I getting this error?

-- kali doss
kubernetes
openshift

1 Answer

11/28/2019

It's an ignition file problem.When we create a ignition file, we have to finish the installation with in 24 hours.Because the ignition files contains certificate and it will expires in 24 hours.

RHCOS Documentation

-- kali doss
Source: StackOverflow