Unable to create Oauth in ACS

Solution Verified - Updated -

Issue

  • When attempting to create Oauth from ACS console, users are getting the below error:

    unable to create an auth provider instance: unable to create backend for provider id 5012ff72-f820-4f1e-ad1e-8fb9b09d93af: failed to create dex openshiftConnector for OpenShift's OAuth Server: failed to query OpenShift endpoint: Get "https://openshift.xxx.svc/.well-known/oauth-authorization-server": tls: failed to verify certificate: x509: certificate is valid for localhost, kubernetes, kubernetes.defaultxxx, kubernetes.defaultxxx.svc, kubernetes.defaultxxx.svc.cluster.local, kube-apiserver, kube-apiserver.xxx
    
  • In a new installation of the cluster, users are unable to create Oauth. However, this is working fine in ROSA Classic.

Environment

  • Red Hat OpenShift Service on AWS Hosted Control Planes (ROSA HCP)
    • 4
  • Red Hat Advanced Cluster Security for Kubernetes
    • 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