Hello, I saw a stub customHttpsConfiguration property in an ARM template I downloaded from a Portal-based deployment the other day. It doesn't seem to be supported (at least I can't find any references to it in docs or the schema repo) but it led me to wonder: is it possible today to use ARM automate the SSL certificate assignment from a previously-uploaded Key Vault certificate/secret? If so, how would I do that? Thanks!
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@LarsKemmann Thank you for the valuable feedback,we are investigating the issue.
@LarsKemmann Thanks for the feedback. I have assigned this issue to content author to comment on the feasibility of doing this for Azure Front Door service.
@LarsKemmann Currently, there is no support to enable HTTPS through ARM templates.
Please use REST API enablehttps on frontend endpoint for the same
https://docs.microsoft.com/en-us/rest/api/frontdoorservice/frontdoor/frontendendpoints/enablehttps
I've discovered that this seems to be possible with the 2020-01-01 version of the ARM API and I've documented here:
https://stackoverflow.com/a/61099521/2765855
namely there's a new property in frontendEndpoint properties:
"customHttpsConfiguration": {
"certificateSource": "AzureKeyVault" // or "FrontDoor",
"minimumTlsVersion":"1.2",
"protocolType": "ServerNameIndication",
// Depending on "certificateSource" you supply either:
"keyVaultCertificateSourceParameters": {
"secretName": "<secret name>",
"secretVersion": "<secret version>",
"vault": {
"id": "<keyVault ResourceID>"
}
}
// Or:
"frontDoorCertificateSourceParameters": {
"certificateType": "Dedicated"
}
}
After more testing, it seems this may be premature as I've found it to be unstable and only works intermittently, so I guess this is not quite production ready yet.
How can this still not be supported using ARM. It has been GA for over a year now.
just add below property:
"customHttpsProvisioningState": "Enabled",
Most helpful comment
How can this still not be supported using ARM. It has been GA for over a year now.