Attempt to upgrade fails with "Unable to retrieve available updates x509: certificate signed by unknown authority" in OCP 4
Issue
- When attempting to upgrade the cluster by running
oc adm upgrade
or clicking to upgrade in the UI it fails with :
Could not retrieve updates. Unable to retrieve available updates: Get https://api.openshift.com/api/upgrades_info/v1/graph?channel=stable-4.1&id=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&version=4.1.0: x509: certificate signed by unknown authority.
- Doing
curl
tohttps://api.openshift.com
fails with:
curl: (7) Failed to connect to api.openshift.com port 443: Connection refused
Environment
- Red Hat OpenShift Container Platform (RHOCP) 4.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.