Attempt to upgrade fails with "Unable to retrieve available updates x509: certificate signed by unknown authority" in OCP 4

Solution Verified - Updated -

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 to https://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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content