You are configuring a custom domain (api.contoso.com) for a public-facing Azure Container App named inventory-api. You need to ensure the custom domain is validated and secured with an SSL/TLS certificate.
Which sequence of steps must you perform to configure the custom domain and certificate?
- 1Retrieve the Container App's default fully qualified domain name (FQDN) and the domain verification code.
- 2Create a CNAME record pointing to the Container App's FQDN, and a TXT record containing the verification code, with your DNS provider.
- 3Add the custom domain to the Container App to run the validation check.
- 4Create and bind an SSL/TLS certificate to the custom domain.
Answer
To configure a custom domain and certificate for an Azure Container App, you must first retrieve the FQDN and verification code from Azure, then configure the CNAME and TXT records at the DNS provider, followed by adding the custom domain to the app to complete validation, and finally creating and binding the SSL/TLS certificate.
The correct order resolves dependencies chronologically. First, the FQDN and validation token are retrieved from the Container App. Second, these values are used to configure CNAME and TXT records at the DNS provider. Third, the domain is added and validated in the Azure Container App. Finally, a certificate is bound to the validated domain.
Step-by-Step Solution
Key Concept
Configuring custom domains and TLS certificates for ingress in Azure Container Apps.
Estimated Time:2m 0s