x509: certificate is valid for localhost.localdomain, not <domain name>
Issue
- I attempt to restart the node service with 'systemctl restart atomic-
openshift-node' and I see an error with x509 certificate.
Mar 29 16:01:16 node-name atomic-openshift-node: I0329 16:01:16.930100 105675 start_node.go:250] Reading node configuration from /etc/origin/node/node-config.yaml
Mar 29 16:01:16 node-name atomic-openshift-node: F0329 16:01:16.942022 105675 start_node.go:139] cannot fetch "default" cluster network: Get https://openshift_master_default_subdomain:443/oapi/v1/clusternetworks/default: x509: certificate is valid for localhost.localdomain, not openshift_master_default_subdomain
Environment
- OpenShift 3.5
- OpenShift 3.7
- OpenShift 3.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.