Azure 是否为“cloudapp.net"提供 https? [英] Does Azure offer https for "cloudapp.net"?
问题描述
使用 Azure 网站 的一大优势是我无需执行任何操作即可获得安全的 HTTP (HTTPS):我只需键入 https://xyz.azurewebsites.net
并且可以正常工作.我不必担心证书,因为我使用 Azure 提供的子域(在示例中为 xyz
)
One great advantage of using Azure Websites is that I can get secure HTTP (HTTPS) without doing nothing: I simply type https://xyz.azurewebsites.net
and it works. I don't have to worry about certificates because I use the subdomain that Azure gives me (in the example it would be xyz
)
所以,我通常做的是人们通过我拥有的某个注册域来访问,例如.http://www.my-application-homepage.com
,如果他们想使用我的应用程序,我会将他们重定向到 azurewebsites.net
的子域,使用 HTTPS.
So, what I usually do is that people come by through some registered domain I have, eg. http://www.my-application-homepage.com
, and there, if they want to use my application, I redirect them to the subdomain at azurewebsites.net
, using HTTPS.
现在,话虽如此:
我需要升级到 Azure 云服务 或 Azure 虚拟机,因为它们具有 Azure 网站 不具备的功能.这两个还提供了一个免费的子域:xyz.cloudapp.net
,但我的问题是:我也会在那里获得 HTTPS 吗?如何?
Now, having said that:
I'm in need of upgrading to Azure Cloud Services or Azure Virtual Machines, because these have capabilities that Azure Websites don't . These two also offer a free subdomain: xyz.cloudapp.net
, but my question is: will I get HTTPS there too? and how?
我在 google 中搜索了一些 cloudapp 示例,我测试的内容如下:
I searched in google for some cloudapp examples and what I tested was the following:
1) 通过 HTTP 连接(即输入 http://xyz.cloudapp.net
).结果:成功
1) Connect through HTTP (ie. type http://xyz.cloudapp.net
). Result: worked
2) 通过 HTTPS 连接(即输入 https://xyz.cloudapp.net
).结果:没用(chrome给了ERR_CONNECTION_TIMED_OUT
)
2) Connect through HTTPS (ie. type https://xyz.cloudapp.net
). Result: didn't work (chrome gave ERR_CONNECTION_TIMED_OUT
)
推荐答案
没有.从今天起,.cloudapp.net
域不提供 HTTPS.另外,由于您没有 .cloudapp.net
域,我认为您不能为此购买 SSL 证书.如果您愿意,您可以创建一个自签名证书并使用它.
No. HTTPS is not offered for .cloudapp.net
domain as of today. Also since you don't own .cloudapp.net
domain, I don't think you can buy a SSL certificate for that. If you want you could create a self-signed certificate and use that.
这篇关于Azure 是否为“cloudapp.net"提供 https?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!