View issued certificates
This page explains how you can view the issued certificates using the Google Cloud console, Google Cloud CLI, and Cloud Client Libraries.
View issued certificates
Console
In the Google Cloud console, go to the Certificate Authority Service page.
Click the CA manager tab.
On the Certificate authorities page, click the name of the CA.
At the bottom of the Certificate authority details page, click View issued certificates to view the list of certificates issued by the CA.
A list of certificates appear on the All certificates page. The details displayed include the status of the certificate, issuing CA, the CA pool that contains the CA, the certificate's expiration date, and more.
gcloud
To list all certificates issued by a particular CA in a CA pool, use the following gcloud
command:
gcloud privateca certificates list --issuer-pool ISSUER_POOL --ca CA_NAME
For more information about the gcloud privateca certificates list
command, see gcloud privateca certificates list.
To list all certificates across all CAs in a given location, use the following gcloud
command:
gcloud privateca certificates list --location LOCATION
Go
To authenticate to CA Service, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
Java
To authenticate to CA Service, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
Python
To authenticate to CA Service, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
View details for a single certificate
Console
In the Google Cloud console, go to the Certificate Authority Service page.
Pick your target CA under the CA Manager tab.
Click the CA name.
At the bottom of the Certificate authority details page, click View issued certificates to see the list of issued certificates.
Click
in the Actions column for the certificate you want to download.Under Download, click Certificate. You can download the certificate chain by clicking Certificate chain.
gcloud
To see the full description of a certificate, run the following command:
gcloud privateca certificates describe CERT_NAME \
--issuer-pool POOL_ID
For more information about the gcloud privateca certificates describe
command, see gcloud privateca certificates describe.
To export the PEM-encoded X.509 certificate chain and to a file, run the following command:
gcloud privateca certificates export CERT_NAME \
--issuer-pool POOL_ID \
--include-chain \
--output-file certificate-file
For more information about the gcloud privateca certificates export
command, see gcloud privateca certificates export.
Proof-of-possession for certificates
Proof-of-possession of the private key ensures that the requester of a certificate holds the private key for that certificate. CA Service checks proof-of-possession only if the requester provides a PKCS #10 CSR according to RFC 2986. Proof-of-possession for other forms of certificate requests, such as requests by CertificateConfig is not enforced.
It is the responsibility of client applications that accept certificates to validate whether the certificate holder possesses the private key of that certificate. Enforcing proof-of-possession checks during certificate issuance is a form of defense-in-depth to protect against misbehaving clients. The existence of such clients, regardless of whether the CA checks proof-of-possession, could constitute a security vulnerability.
What's next
- Learn how to revoke certificates.
- Learn how to sort and filter certificates.