Stay organized with collections Save and categorize content based on your preferences.
gcloud alpha compute ssl-certificates create
NAME
(--domains
=DOMAIN
,[DOMAIN
,…] | --certificate
=LOCAL_FILE_PATH
--private-key
=LOCAL_FILE_PATH
) [--description
=DESCRIPTION
] [--global
| --region
=REGION
] [GCLOUD_WIDE_FLAG …
]
(ALPHA)
gcloud alpha compute ssl-certificates create
creates SSL certificate resources, which you can use in a target HTTPS or target SSL proxy. An SSL certificate resource consists of a certificate and private key. The private key is encrypted before it is stored.
You can create either a managed or a self-managed SslCertificate resource. A managed SslCertificate is provisioned and renewed for you. A self-managed certificate is created by passing the certificate obtained from Certificate Authority through --certificate
and --private-key
flags.
gcloud alpha compute ssl-certificates create my-cert --certificate=foo/cert --private-key=foo/pk
NAME
Exactly one of these must be specified:
--domains
=DOMAIN
,[DOMAIN
,…]
--certificate
=LOCAL_FILE_PATH
This flag argument must be specified if any of the other arguments in this group are specified.
--private-key
=LOCAL_FILE_PATH
This flag argument must be specified if any of the other arguments in this group are specified.
--description
=DESCRIPTION
--global
--region
=REGION
To avoid prompting when this flag is omitted, you can set the
property:compute/region
gcloud config set compute/region REGION
A list of regions can be fetched by running:
gcloud compute regions list
To unset the property, run:
gcloud config unset compute/region
Alternatively, the region can be stored in the environment variable
.CLOUDSDK_COMPUTE_REGION
--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.
gcloud compute ssl-certificates create
gcloud beta compute ssl-certificates create
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 2025-05-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4