gcloud_alpha_app_ssl-certificates_update (1)
NAME
- gcloud alpha app ssl-certificates update - updates an SSL certificate
SYNOPSIS
-
gcloud alpha app ssl-certificates update ID [--certificate=LOCAL_FILE_PATH] [--display-name=DISPLAY_NAME] [--private-key=LOCAL_FILE_PATH] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Updates an SSL certificate.
POSITIONAL ARGUMENTS
-
- ID
-
- The id of the certificate. This identifier is printed upon creation of a new certificate. Run gcloud alpha app ssl-certificates list to view existing certificates.
- The id of the certificate. This identifier is printed upon creation of a new certificate. Run gcloud alpha app ssl-certificates list to 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: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
To update an App Engine SSL certificate, run:
-
$ gcloud alpha app ssl-certificates update 1234 \
--display-name='updated name' \
--certificate='/home/user/me/new_cert.cer' \
--private-key='/home/user/me/new_key.pfx'
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud app ssl-certificates update $ gcloud beta app ssl-certificates update