gcloud compute ssl-policies create SSL_POLICY [--custom-features=[CUSTOM_FEATURES,…]] [--description=DESCRIPTION] [--min-tls-version=MIN_TLS_VERSION; default="1.0"] [--post-quantum-key-exchange=POST_QUANTUM_KEY_EXCHANGE] [--profile=PROFILE; default="COMPATIBLE"] [--global | --region=REGION] [GCLOUD_WIDE_FLAG …]
gcloud compute ssl-policies create creates a new SSL policy.
An SSL policy specifies the server-side support for SSL features. An SSL policy
can be attached to a TargetHttpsProxy or a TargetSslProxy. This affects
connections between clients and the load balancer. SSL policies do not affect
the connection between the load balancers and the backends. SSL policies are
used by Application Load Balancers and proxy Network Load Balancers.
SSL_POLICY--custom-features=[CUSTOM_FEATURES,…]Using CUSTOM profile allows customization of the features that are part of the SSL policy. This flag allows specifying those custom features.
The list of all supported custom features can be obtained using:
gcloud compute ssl-policies list-available-features
--description=DESCRIPTION--min-tls-version=MIN_TLS_VERSION; default="1.0"MIN_TLS_VERSION must be one of:
1.01.11.21.3--post-quantum-key-exchange=POST_QUANTUM_KEY_EXCHANGEPOST_QUANTUM_KEY_EXCHANGE must be one of:
DEFAULTDEFERREDENABLED--profile=PROFILE; default="COMPATIBLE"PROFILE must be one of:
COMPATIBLECUSTOMgcloud compute ssl-policies list-available-features
FIPS_202205MODERNRESTRICTED--global--region=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 ssl-policies creategcloud beta compute ssl-policies creategcloud preview compute ssl-policies 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 2026-05-27 UTC.