How to change the domain name of OpenShift 4 cluster post installation?

Solution Verified - Updated -

Issue

  • How to change the domain name of the OpenShift 4 cluster post installation.
  • Need to change the domain of the OpenShift 4 cluster from example.com to newexample.com.
  • Is it possible to change the internal API URL (api-int.ClusterID.example.com) and external API URL (api.ClusterID.example.com) in OpenShift 4?
  • Cluster was installed using the wrong domain, and the generated certificates for the ingresscontroller are not valid, showing an error "x509: certificate signed by unknown authority" when accessing to any route.

Environment

  • Red Hat Openshift Container Platform (RHOCP)
    • 4

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