An administrator is configuring a custom domain named portal.contoso.com for an Azure App Service web app named app-portal-prod. To secure the backend databases, the administrator configures a Private Endpoint for the web app and disables public network access. The administrator needs to secure the custom domain portal.contoso.com using a TLS/SSL certificate. The certificate must support automatic renewal to minimize administrative overhead. Which configuration should the administrator implement to secure the custom domain while meeting the security and renewal requirements?
- Configure the custom domain using DNS TXT record validation, and bind a custom TLS/SSL certificate imported from Azure Key Vault with certificate auto-rotation enabled.Cevap
- BCreate a free Azure App Service Managed Certificate for the custom domain and configure SNI-based SSL binding.
- CConfigure regional VNet Integration for the web app, and configure a Private DNS Zone link to verify the domain ownership.
- DGenerate a self-signed certificate, upload it directly to the App Service TLS/SSL settings, and enable the App Service auto-renew setting.
Cevap
Configure the custom domain using DNS TXT record validation, and bind a custom TLS/SSL certificate imported from Azure Key Vault with certificate auto-rotation enabled.
Configuring the custom domain using DNS TXT records allows the control plane to verify ownership. Binding a custom certificate from Azure Key Vault with auto-rotation enabled satisfies the requirement for automatic renewal. Since public network access is disabled, the public Certificate Authority cannot reach the web app to perform the HTTP-01 challenge needed for issuing or renewing a free App Service Managed Certificate. Azure Key Vault manages the certificate lifecycle independently and syncs it to the App Service automatically.
Adım Adım Çözüm
Anahtar Kavram
Configuring custom domains and TLS/SSL certificates for network-isolated Azure App Services.
Tahmini Süre:3m 0s