az webapp config ssl
Note
This reference is part of the appservice-kube extension for the Azure CLI (version 2.34.1 or higher). The extension will automatically install the first time you run an az webapp config ssl command. Learn more about extensions.
Configure SSL certificates for web apps.
Name | Description | Type | Status |
---|---|---|---|
az webapp config ssl bind |
Bind an SSL certificate to a web app. |
Extension | GA |
az webapp config ssl unbind |
Unbind an SSL certificate from a web app. |
Extension | GA |
Bind an SSL certificate to a web app.
az webapp config ssl bind --certificate-thumbprint
--ssl-type {IP, SNI}
[--ids]
[--name]
[--resource-group]
[--slot]
[--subscription]
Bind an SSL certificate to a web app. (autogenerated)
az webapp config ssl bind --certificate-thumbprint {certificate-thumbprint} --name MyWebapp --resource-group MyResourceGroup --ssl-type SNI
The ssl cert thumbprint.
The ssl cert type.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the web app. You can configure the default using az configure --defaults web=<name>
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the slot. Default to the productions slot if not specified.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Unbind an SSL certificate from a web app.
az webapp config ssl unbind --certificate-thumbprint
[--ids]
[--name]
[--resource-group]
[--slot]
[--subscription]
The ssl cert thumbprint.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the web app. You can configure the default using az configure --defaults web=<name>
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the slot. Default to the productions slot if not specified.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI feedback
Azure CLI is an open source project. Select a link to provide feedback: