List certificate authorities
Stay organized with collections
Save and categorize content based on your preferences.
This page explains how you can list the certificate authorities (CAs) in a Google Cloud project.
List root CAs
This section shows how to view the root CAs.
List root CAs across CA pools
To list all the root CAs across CA pools, do the following:
In the Google Cloud console, go to the Certificate authorities page.
In the
Filter field, select Type in the list.Set the value of Type as Root.
All CAs with Type set as Root are listed.
Run the following command:
gcloud privateca roots list --location LOCATION
Replace LOCATION with the location of the root CAs. For the complete list of locations, see Locations.
List root CAs in a particular CA pool
To list all the root CAs in a particular CA pool, use the following instructions:
Go to the Certificate authorities page.
In the
Filter field, select Type in the list.Set the value of Type as Root.
In the Filter field, select Pool in the list.
Click the name of the CA pool in the list.
Run the following command:
gcloud privateca roots list --pool POOL_ID --location LOCATION
Replace the following:
- POOL_ID: the name of the CA pool.
- LOCATION: the location of the CA pool. For the complete list of locations, see Locations.
To list root CAs across all CA pools and locations, omit the --pool
and
--location
flags from the command.
For more information about the gcloud privateca roots list
command, see
gcloud privateca roots list.
List subordinate CAs
This section shows how to view the subordinate CAs.
List subordinate CAs across CA pools
To list all the subordinate CAs across CA pools, do the following:
Go to the Certificate authorities page.
In the
Filter field, select Type in the list.Set the value of Type as Subordinate.
All CAs with Type set as Subordinate are listed.
Run the following command:
gcloud privateca subordinates list --location LOCATION
Replace LOCATION with the location of the subordinate CAs. For the complete list of locations, see Locations.
List subordinate CAs in a particular CA pool
To list all the subordinate CAs in a particular CA pool, do the following:
Go to the Certificate authorities page.
In the
Filter field, select Type in the list.Set the value of Type as Subordinate.
In the
Filter field, select Pool in the list.Click the name of the CA pool in the list.
Run the following command:
gcloud privateca subordinates list --pool POOL_ID --location LOCATION
Replace the following:
- POOL_ID: the name of the CA pool.
- LOCATION: the location of the CA pool. For the complete list of locations, see Locations.
For more information about the gcloud privateca subordinates list
command,
see gcloud privateca subordinates
list.
List all CAs
To list all the CAs in a CA pool, use the following instructions:
Go to the Certificate authorities page.
In the
Filter field, select Pool in the list.Click the name of the CA pool in the list.
Alternatively, you can view the CAs in a particular CA pool from the CA pool manager page by doing the following:
- Click the CA pool manager tab.
- On the CA pools page, click the name of the CA pool whose CAs you want to view.
On the CA pool details page, you can see the CAs listed under Certificate authorities in pool. You can filter the CAs based on type, tier, location, state, and more.
To authenticate to CA Service, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
To authenticate to CA Service, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
To authenticate to CA Service, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
What's next
- Learn how to delete CAs.