mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
46 lines
1.6 KiB
Text
46 lines
1.6 KiB
Text
NAME
|
|
gcloud app ssl-certificates create - uploads a new SSL certificate
|
|
|
|
SYNOPSIS
|
|
gcloud app ssl-certificates create --certificate=LOCAL_FILE_PATH
|
|
--display-name=DISPLAY_NAME --private-key=LOCAL_FILE_PATH
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
The user must be the verified owner of the certificate domain(s). Use the
|
|
gcloud domains command group to manage domain ownership and verification.
|
|
|
|
EXAMPLES
|
|
To add a new SSL certificate to App Engine, run:
|
|
|
|
$ gcloud app ssl-certificates create --display-name='example cert' \
|
|
--certificate='/home/user/me/my_cert.cer' \
|
|
--private-key='/home/user/me/my_key.pfx'
|
|
|
|
REQUIRED 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 help for details.
|
|
|
|
NOTES
|
|
These variants are also available:
|
|
|
|
$ gcloud alpha app ssl-certificates create
|
|
|
|
$ gcloud beta app ssl-certificates create
|
|
|