如何在Azure App服务中信任内部根CA

发布于 2025-02-05 03:41:07 字数 209 浏览 3 评论 0原文

我有一个使用内部根CA提供的SSL证书来调用HTTPS端点的Azure函数。 没有做任何事情,我有一个正常的SSL协商误差。

我在函数应用程序的SSL设置中添加了root ca Cert,还在功能应用程序设置中添加了设置wording_load_root_certificate。

通过使用Kudu控制台,我试图卷曲我的HTTPS端点,并且仍然遇到SSL麻烦。 我想念什么吗?

I have an Azure Function calling an HTTPS endpoint using an SSL certificate that was provided by an internal Root CA.
Without doing anything, I have an SSL negotiation error which is normal.

I added the ROOT CA cert in the SSL Settings of my Function App, and I also added the setting WEBSITE_LOAD_ROOT_CERTIFICATES in the Function App Settings.

By using the Kudu Console, I tried to curl my HTTPS endpoint, and I'm still having SSL troubles.
Am I missing something?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

烟燃烟灭 2025-02-12 03:41:07

您不能针对在多租户环境中的Azure功能使用内部权威签名的证书。唯一可用的方法是使用应用程序服务环境(ASE)。使用ASE,将使您能够上传由私人/内部权限签署的发行和根证书,并在商店中注册,以便受到审问。

You can't use an internal authority signed certificate against an Azure Function that is in a multi-tenant environment. The only available approach is to use App Service Environment (ASE). Using ASE, will enable you to upload an issuing and root certificates that are signed by a private/internal authority and register them in the store to be able to be interrogated.

第七度阳光i 2025-02-12 03:41:07

尝试按照以下步骤启用SSL。

  1. 转到App Service,然后选择TLS/SSL设置。
  2. 单击专用键证书,然后单击创建应用服务托管证书。它打开一个窗口,该窗口单击创建按钮
  3. 成功创建后,转到自定义域,然后单击添加binding
  4. 在TLS/SSL绑定下,选择自定义域名称,私有证书thumbprint及其类型,然后单击添加binding
  5. 一旦完成上述步骤,它将添加到您的域。

按照 Microsoft文档,在Azure App Service中添加TLS/SSL证书。

Try to follow the below steps to enable SSL.

  1. Go to App service and then select TLS/SSL settings.
  2. Click on Private Key Certificates and then click on Create App Service Managed Certificate. It opens a side window in that window click on create button.
  3. After successfully created, go to custom domains and click on Add binding.
  4. Under TLS/SSL binding, select custom domain name, private certificate thumbprint, and its type then click on Add Binding.
  5. Once we finished the above steps then it will add to your domain.

As per the Microsoft Document, Add a TLS/SSL certificate in Azure App Service.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文