Browsers show a certificate warning for a Self-Signed cluster

A browser or curl rejects the certificate of a service in a cluster because the Self-Signed CA is not in the client trust store.

Condition

A browser or curl rejects the certificate of a service in a Cloudera Service for Kubernetes cluster.

Cause

The Self-Signed CA is not in the client trust store.

Remedy

Retrieve the cluster CA, and add it to the client, as described in Trusting the private CA in clients and services.
kubectl get secret -n cert-manager cluster-selfsigned-ca -o jsonpath='{.data.ca\.crt}' | base64 -d > cluster-ca.crt