Custom Domain and Certificates¶
Configure HTTPS custom domains, managed certificates, and secure endpoint policies.
flowchart LR
A[Trigger] --> B[Function]
B --> C[Binding or SDK]
C --> D[Azure service] Topic/Command Groups¶
Add custom hostname¶
az functionapp config hostname add --name "$APP_NAME" --resource-group "$RG" --hostname "api.example.com"
Create managed certificate¶
az functionapp config ssl create --name "$APP_NAME" --resource-group "$RG" --hostname "api.example.com"
Bind certificate¶
az functionapp config ssl bind --name "$APP_NAME" --resource-group "$RG" --certificate-thumbprint "<thumbprint>" --ssl-type SNI
Hosting plan caveat¶
- Flex Consumption does not support managed/platform certificates.