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屋!