OpenShift 4.x IPI on vSphere fails with x509 certificate signed by unknown authority

Solution Verified - Updated -

Issue

  • Attempting to install OpenShift 4.x using IPI method on vSphere fails with the following:
$ ./openshift-install create cluster 
? SSH Public Key /home/user/.ssh/id_rsa.pub
? Platform vsphere
? vCenter vmware.devcluster.example.com
? Username user@vsphere.local
? Password [? for help] ********************
INFO Connecting to vCenter vmware.devcluster.example.com 
FATAL failed to fetch Metadata: failed to fetch dependency of "Metadata": failed to fetch dependency of "Cluster ID": failed to fetch dependency of "Install Config": failed to fetch dependency of "Base Domain": failed to generate asset "Platform": unable to connect to vCenter vmware.devcluster.example.com. Ensure provided information is correct and client certs have been added to system trust.: Post https://vmware.devcluster.example.com/sdk: x509: certificate signed by unknown authority 

Environment

  • Red Hat OpenShift Container Platform
    • 4.x
  • vSphere
  • Installer Provisioned Infrastructure (IPI) installation

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