Updating database CA certificates for a Cloudera Data Engineering Virtual Cluster using the CLI
Update the CA certificates that Cloudera Data Engineering Virtual Clusters use to connect to their databases securely using the CDP CLI.
You can update the CA certificates without recreating the Virtual Cluster or performing an upgrade. You can set the certificate for the Runtime API server, Airflow, and the Airflow API server all at once, or one at a time. You can also remove a manually set certificate.
For more information on updating database CA certificates for a Cloudera Data Engineering Virtual Cluster using the API method, see Updating database CA certificates for a Cloudera Data Engineering Virtual Cluster.
-
You must have
DE Adminuser privileges at the environment level. -
You must have the required permissions to manage the Cloudera Data Engineering Service and Virtual Cluster.
-
You must have the correct CA certificate bundle in PEM format for your database.
- You must set up and configure the CDP CLI.
cdp de update-vc --cluster-id [***CLUSTER-ID***] --vc-id [***VC-ID***] --encoded-db-ca-cert [***ENCODED-DB-CA-CERT***]
The command contains the following variables:
-
CLUSTER-ID- The ID of the Cloudera Data Engineering Service. For example
To obtain the cluster ID, log in to the Cloudera Data Engineering UI and go to Administration in the left-navigation menu. Select the respective Service, then click on the Service Details icon, and copy the CLUSTER ID.cluster-abc123 -
VC-ID- The ID of the Virtual Cluster. For example:
To obtain the VC ID, log in to the Cloudera Data Engineering UI and go to Administration in the left-navigation menu. Select the respective service and then the respective VC. Click on the Virtual Cluster Details icon, and copy the VC-ID.dex-app-xyz789 -
ENCODED-DB-CA-CERT- The base-64 encoded database CA certificate value.
