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.
Commands
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 |
az webapp config ssl bind
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]
Examples
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
Required Parameters
The ssl cert thumbprint.
The ssl cert type.
Optional Parameters
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.
az webapp config ssl unbind
Unbind an SSL certificate from a web app.
az webapp config ssl unbind --certificate-thumbprint
[--ids]
[--name]
[--resource-group]
[--slot]
[--subscription]
Required Parameters
The ssl cert thumbprint.
Optional Parameters
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for