gcloud compute target-https-proxies update NAME [--quic-override=QUIC_OVERRIDE] [--tls-early-data=TLS_EARLY_DATA] [--url-map=URL_MAP] [--certificate-manager-certificates=[CERTIFICATE_MANAGER_CERTIFICATES,…] | --clear-ssl-certificates | --ssl-certificates=SSL_CERTIFICATE,[…] --global-ssl-certificates | --ssl-certificates-region=SSL_CERTIFICATES_REGION | --certificate-map=CERTIFICATE_MAP | --clear-certificate-map] [--clear-http-keep-alive-timeout-sec | --http-keep-alive-timeout-sec=HTTP_KEEP_ALIVE_TIMEOUT_SEC] [--clear-server-tls-policy | --server-tls-policy=SERVER_TLS_POLICY] [--clear-ssl-policy | --ssl-policy=SSL_POLICY --global-ssl-policy | --ssl-policy-region=SSL_POLICY_REGION] [--global | --region=REGION] [--global-url-map | --url-map-region=URL_MAP_REGION] [GCLOUD_WIDE_FLAG …]
gcloud compute target-https-proxies update is used to change the
SSL certificate and/or URL map of existing target HTTPS proxies. A target HTTPS
proxy is referenced by one or more forwarding rules which specify the network
traffic that the proxy is responsible for routing. The target HTTPS proxy in
turn points to a URL map that defines the rules for routing the requests. The
URL map's job is to map URLs to backend services which handle the actual
requests. The target HTTPS proxy also points to at most 15 SSL certificates used
for server-side authentication. The target HTTPS proxy can be associated with at
most one SSL policy.
gcloud compute target-https-proxies update PROXY_NAME --url-map=URL_MAPUpdate the SSL certificate of a global target HTTPS proxy by running:
gcloud compute target-https-proxies update PROXY_NAME --ssl-certificates=SSL_CERTIFIFCATEUpdate the URL map of a global target HTTPS proxy by running:
gcloud compute target-https-proxies update PROXY_NAME --url-map=URL_MAP --region=REGION_NAMEUpdate the SSL certificate of a global target HTTPS proxy by running:
gcloud compute target-https-proxies update PROXY_NAME --ssl-certificates=SSL_CERTIFIFCATE --region=REGION_NAMENAME--quic-override=QUIC_OVERRIDEQUIC_OVERRIDE must be one of:
DISABLEENABLENONE--tls-early-data=TLS_EARLY_DATATLS_EARLY_DATA must be one
of:
DISABLEDPERMISSIVESTRICT--url-map=URL_MAP
To set the project attribute:
--certificate-manager-certificates on the
command line with a fully specified name;
--project on the command line;
core/project.
location attribute:
--certificate-manager-certificates on the
command line with a fully specified name;
--certificate-manager-certificates=[CERTIFICATE_MANAGER_CERTIFICATES,…]certificate attribute:
provide the argument --certificate-manager-certificates on the
command line.
--clear-ssl-certificates--ssl-certificates=SSL_CERTIFICATE,[…]--global-ssl-certificates--ssl-certificates-region=SSL_CERTIFICATES_REGION
To avoid prompting when this flag is omitted, you can set the
property:
compute/region
gcloud config set compute/region REGIONA list of regions can be fetched by running:
gcloud compute regions listTo unset the property, run:
gcloud config unset compute/regionCLOUDSDK_COMPUTE_REGION.
At most one of these can be specified:
Certificate map resource - The certificate map to attach. This represents a
Cloud resource. (NOTE) Some attributes are not given arguments in this group but
can be set in other ways.
To set the project attribute:
--certificate-map on the command line with a
fully specified name;
--project on the command line;
core/project.
To set the location attribute:
--certificate-map on the command line with a
fully specified name;
--certificate-map=CERTIFICATE_MAPmap attribute:
provide the argument --certificate-map on the command line.
--clear-certificate-map--clear-http-keep-alive-timeout-sec--http-keep-alive-timeout-sec=HTTP_KEEP_ALIVE_TIMEOUT_SEC--clear-server-tls-policyproject attribute:
--server-tls-policy on the command line with a
fully specified name;
--project on the command line;
core/project.
To set the location attribute:
--server-tls-policy on the command line with a
fully specified name;
--region on the command line;
--server-tls-policy=SERVER_TLS_POLICYserver_tls_policy attribute:
provide the argument --server-tls-policy on the command line.
At most one of these can be specified:
--clear-ssl-policy--ssl-policy=SSL_POLICY--global-ssl-policy--ssl-policy-region=SSL_POLICY_REGIONcompute/region property value for this command invocation.
--global--region=REGION
To avoid prompting when this flag is omitted, you can set the
property:
compute/region
gcloud config set compute/region REGIONA list of regions can be fetched by running:
gcloud compute regions listTo unset the property, run:
gcloud config unset compute/regionCLOUDSDK_COMPUTE_REGION.
--global-url-map--url-map-region=URL_MAP_REGIONcompute/region property value for this command invocation.
--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 alpha compute target-https-proxies updategcloud beta compute target-https-proxies updategcloud preview compute target-https-proxies 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.