Reputation: 780
When switching on https on a custom domain on an Azure CDN I get the following error:
Failed to update custom domain properties
CertificateType value provided is not supported for this profile for enabling https.
The screen looks different than in the tutorial here.
There is no option to select "Certificate Management Type"
Upvotes: 4
Views: 711
Reputation: 76
It appears to be a glitch in the azure portal's UI. The workaround that worked for me is to enable HTTPS for the custom domain via the CLI.
e.g.
az cdn custom-domain enable-https --endpoint-name ENDPOINT_NAME --name CUSTOM_DOMAIN_NAME -g RESOURCE_GROUP_NAME --profile-name PROFILE_NAME
note, CUSTOM_DOMAIN_NAME is the name of the custom domain entity in azure which is NOT equal to the actual domain name displayed in Azure portal. You can find the name you need by observing the output of the following command:
az cdn custom-domain list --endpoint-name ENDPOINT_NAME -g RESOURCE_GROUP_NAME --profile-name PROFILE_NAME
Once this is done, the UI on the custom domain properties page looks exactly as on the screenshot from the tutorial :)
Upvotes: 5