Enable, disable, and restore certificate authorities
This document explains how you can manage the state of your certificate authority (CA).
Enable a CA
All subordinate CAs are created in the AWAITING_USER_ACTIVATION state, and
they are set to the STAGED state after activation. All root CAs are created in
the STAGED state by default. You must change the CA state to ENABLED to
include it in a CA pool's certificate issuance rotation. For more information
about the operational states of a CA, see Certificate authority
states.
To enable a CA that is in the STAGED or DISABLED state, use the following
instructions:
Console
In the Google Cloud console, go to the Certificate authorities page.
Under Certificate authorities, select your target CA.
Click Enable.
In the dialog that opens, click Confirm.
gcloud
To enable a root CA, use the following command:
gcloud privateca roots enable CA_ID --location LOCATION --pool POOL_ID
Replace the following:
- CA_ID: the unique identifier of the CA
- LOCATION: the location of the CA pool. For the complete list of locations, see Locations.
- POOL_ID: the unique identifier of the CA pool that the CA belongs to
For more information about the gcloud privateca roots enable command, see
gcloud privateca roots
enable.
Go
To authenticate to CA Service, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.