【问题标题】:Upload Certificate to App Service from key Vault从密钥保管库将证书上传到应用服务
【发布时间】:2019-07-15 04:55:52
【问题描述】:

在 Azure Key Vault 中,证书将在临近到期日时自动续订。 想知道如何将更新的证书上传到 App-Service/Azure Functions。

KeyVault 上是否有可用的挂钩来侦听证书是否成功重新创建。因此指纹和续订证书将更新到应用服务。

【问题讨论】:

    标签: azure ssl-certificate azure-web-app-service azure-keyvault app-service-environment


    【解决方案1】:

    不,没有这样的钩子。您可以使用 azure powershell\cli\rest api\whatever 来检索证书并将其推送到应用服务。您可以将 Azure Function\Runbook 配置为按计划执行此操作,因此您不必担心。

    Rest API:https://docs.microsoft.com/en-us/rest/api/appservice/certificates/createorupdate
    Powershell:https://docs.microsoft.com/en-us/azure/app-service/scripts/powershell-configure-ssl-certificate
    Azure CLI:https://docs.microsoft.com/en-us/azure/app-service/scripts/cli-configure-ssl-certificate

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-08-25
      • 2020-06-28
      • 2020-10-19
      • 2014-06-11
      • 1970-01-01
      • 2022-01-18
      相关资源
      最近更新 更多