Import Public certificate to Azure Function APP via ARM template
Thangavel Tamilarasan (YICCB)
0
Reputation points
Hi,
I tried the below arm template to add public certificate , but it fails with ##[error]undefined: Parameter publicCertificateEnv is null or empty.
What's wrong with this code ? Is there another way to add the public certificate via arm or cli to azure function ?
{
"apiVersion": "2022-09-01",
"name": "[concat(variables('ServiceName'), '/', variables('publicCertificateName'))]",
"type": "Microsoft.Web/sites/publicCertificates",
"dependsOn": [
"[resourceId('Microsoft.Web/sites', variables('serviceName'))]"
],
"properties": {
"blob": "[parameters('root_cert_base64')]",
"publicCertificateLocation": "LocalMachineMy"
}
}
Sign in to answer