- NAME
-
- gcloud app ssl-certificates update - updates an SSL certificate
- SYNOPSIS
-
-
gcloud app ssl-certificates updateID[--certificate=LOCAL_FILE_PATH] [--display-name=DISPLAY_NAME] [--private-key=LOCAL_FILE_PATH] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Updates an SSL certificate.
- EXAMPLES
- To update an App Engine SSL certificate, run:
gcloud app ssl-certificates update 1234 --display-name = 'updated name' --certificate = '/home/user/me/new_cert.cer' --private-key = '/home/user/me/new_key.pfx' - POSITIONAL ARGUMENTS
-
-
ID - The id of the certificate. This identifier is printed upon creation of a new
certificate. Run
gcloud app ssl-certificates listto view existing certificates.
-
- FLAGS
-
-
--certificate=LOCAL_FILE_PATH - The file path for the new certificate to upload. Must be in PEM x.509 format including the header and footer.
-
--display-name=DISPLAY_NAME - A display name for this certificate.
-
--private-key=LOCAL_FILE_PATH - The file path to a local RSA private key file. The private key must be PEM encoded with header and footer and must be 2048 bits or fewer.
-
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
- These variants are also available:
gcloud alpha app ssl-certificates updategcloud beta app ssl-certificates update
gcloud app ssl-certificates update
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

