docs/content/v2.25/yugabyte-platform/security/enable-encryption-in-transit/add-certificate-kubernetes.md
{{<tabs>}} {{<tabitem href="../add-certificate-self/" text="Self-Signed" >}} {{<tabitem href="../add-certificate-ca/" text="CA-Signed" >}} {{<tabitem href="../add-certificate-hashicorp/" text="Hashicorp Vault" >}} {{<tabitem href="../add-certificate-kubernetes/" text="Kubernetes cert-manager" active="true" >}} {{</tabs>}}
For a universe created on Kubernetes, YugabyteDB Anywhere allows you to configure an existing running instance of the cert-manager as a TLS certificate provider for a cluster.
The following criteria must be met:
cat intermediate-ca.crt root-ca.crt > bundle.crt.root.crt).Add TLS certificates issued by the cert-manager as follows:
Navigate to Integrations > Security > Encryption in Transit.
Click Add Certificate to open the Add Certificate dialog.
Select K8S cert-manager.
In the Certificate Name field, enter a meaningful name for your certificate.
Click Upload Root Certificate and select the CA certificate file that you prepared.
Click Add to make the certificate available.
After the certificate is added to YugabyteDB Anywhere, set up the Kubernetes provider configuration by following the instructions in Configure region and zones.
When adding a region, you can specify the Issuer kind, Issuer name, and optionally the Issuer group for each zone.
If your certificate issuer (for example, for aws-privateca-issuer) requires the certificate to include the common name, set the following override for the provider region:
tls:
certManager:
certificates:
commonNameRequired: true
When configured, YugabyteDB Anywhere sets the common name to the name of the service created for the pod, and adds common name to the certificate request sent to cert-manager.
If you encounter problems, you should verify the name of Issuer or ClusterIssuer in the Kubernetes cluster, as well as ensure that the Kubernetes cluster is in Ready state. You can use the following commands:
kubectl get ClusterIssuer
kubectl -n <namespace> Issuer