ssl - 使用 HTTPS 保护我的 Azure Web 应用程序

标签 ssl https azure-web-app-service

例如,我有一个名为 MyApp 的 Azure Web 应用程序,作为 MyApp.azurewebsites.net 在 Azure 上托管。据我了解,我不需要做任何事情来使用 SSL 保护 URL,因为默认情况下,它是使用单个证书完成的。所以我已经可以让我的用户通过 https://MyApp.azurewebsites.net 访问该应用程序了,开箱即用,安全无虞。

但是,假设我有另一个名为 www.MyApp.com 的 URL,我想将其指向(重定向)到 https://MyApp.azurewebsite.net .我是否必须使用证书保护 www.MyApp.com?

最佳答案

Do I have to secure www.MyApp.com with a certificate?

是的,我们可以从 official document 获得更多详细信息.

To secure your custom domain name with HTTPS, you bind a custom SSL certificate to that custom domain in Azure.

在绑定(bind)自定义证书之前,我们需要做以下事情:

Configure the custom domain - App Service only allows adding a certificate for a domain name that's already configured in your app. For instructions, see Map a custom domain name to an Azure app.

Scale up to Basic tier or higher App Service plans in lower pricing tiers don't support custom SSL certificates. For instructions, see Scale up an app in Azure.

Get an SSL certificate - If you do not already have one, you need to get one from a trusted certificate authority (CA).

关于ssl - 使用 HTTPS 保护我的 Azure Web 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42146702/

相关文章:

java - 使用 "single sided"身份验证创建纯 Java HTTPS 服务器?

azure - 如何在 Azure 中允许 URL 编码路径段

Azure 逻辑应用 HTTP 请求身份验证范围

ssl - 如何强制或重定向我的 next.js 网站以使用 https

java - 实例差异

django - 如何调试在 TLS/SSL 之上运行的 Django 应用程序?

c# - 如何使用 https 创建 HttpListener

azure - 在 Azure 上使用 HTTPS 时出现 OWIN 400 invalid_request

wordpress - Google 列出了一篇带 https 的博文,我不知道为什么?

Azure 上托管的 Django 应用程序