gpt4 book ai didi

azure - 将证书安装到 Azure Web 应用上的受信任根证书存储

转载 作者:太空宇宙 更新时间:2023-11-03 12:52:25 26 4
gpt4 key购买 nike

如何将证书安装到 Azure Web 应用程序中,以便我的 Azure Web 应用程序可以通过 SSL 与远程服务通信(此特定证书未由公共(public) CA 签名)

我使用 openssl 生成了一个 ssl 证书,当我将其安装到本地计算机上的受信任根证书身份验证存储时,运行正常。但是,当我通过管理门户上传证书时,我收到证书不受信任的错误(这是正确的)以及未安装证书时的正确错误。

如何将私有(private) SSL 证书安装到 Azure Web 应用上的受信任根证书存储中?

最佳答案

Unfortunately, we cannot add a certificate to the trusted certificate authority on an Azure Web App. The security implications would be quite bad if that were possible. More detail info please refer to another SO thread.

但是我们可以使用 Azure 云服务来实现这一点。更多信息请引用document .

如果我们想要将证书安装到个人证书存储,我们可以将.pfx文件上传到Azure应用程序,并添加名为WEBSITE_LOAD_CERTIFICATES的应用程序设置 将其值设置为证书的指纹将使其可供您的 Web 应用程序访问。然后证书将被安装到个人证书存储。更多详情请引用Using Certificates in Azure Websites Applications 。如何获取SSL证书请引用官方文档Secure your app's custom domain with HTTPS

The easiest way to get an SSL certificate that meets all the requirements is to buy one in the Azure portal directly. This article shows you how to do it manually and then bind it to your custom domain in App Service.

关于azure - 将证书安装到 Azure Web 应用上的受信任根证书存储,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41776109/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com