atomic-openshift-node service fails to start with "x509: failed to load system roots and no roots provided"
Issue
Starting the atomic-openshift-node service fails with the below error:
Sep 30 15:42:28 hostname atomic-openshift-node[33613]: I0930 15:42:28.555997 33613 aws.go:1135] Building AWS cloudprovider
Sep 30 15:42:28 hostname atomic-openshift-node[33613]: F0930 15:42:28.939786 33613 server.go:262] failed to run Kubelet: could not init cloud provider "aws": error finding instance i-0aaaaaaaaaaaaa: "error listing AWS instances: \"RequestError: send request failed\\ncaused by: Post https://ec2.us-east-1.amazonaws.com/: x509: failed to load system roots and no roots provided\""
Sep 30 15:42:28 hostname systemd[1]: atomic-openshift-node.service: main process exited, code=exited, status=255/n/a
Sep 30 15:42:28 hostname systemd[1]: Failed to start OpenShift Node.
Sep 30 15:42:28 hostname systemd[1]: Unit atomic-openshift-node.service entered failed state.
Sep 30 15:42:28 hostname systemd[1]: atomic-openshift-node.service failed.
Environment
Openshift 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.