I have a production site on Azure, with a Pay-As-You-Go subscription. I have two custom domain names set up for it, too. MySite.org and www.MySite.org
Some of my site's visitors are hitting my site via HTTPS, though I never intended to use HTTPS. I don't need SSL for this site. They get an alarming browser warning: There is a problem with this website’s security certificate. I don't know why or how they are using HTTPS, but no matter, I should be able to address this from the server side.
I want to disable the SSL binding, but I cannot find any place to do it in the Azure management portal. As a workaround, I decided to try a URL Rewrite rule to direct from HTTPS to HTTP (usually one would want to redirect the other direction.), but the certificate warning still fires in the browser, because the browser is still processing an HTTPS request first, before the redirect, to a site that does have SSL set up. Ugh.
I found this:
Windows Azure Web Sites actually comes pre-configured to run on SSL,
and if you don’t want your own domain, then you can use SSL
immediately. All you have to do is simply browse to it! In your
browser, change the prefix from HTTP:// to HTTPS:// and voila! Your
site will respond and you will have a secure connection to it.
However, we do not recommend using this to secure sensitive content or
applications, because the wildcard certificate used is generic for all
Azure Web Sites.
http://blogs.msdn.com/b/windowsazure/archive/2013/12/13/securing-your-windows-azure-web-sites-waws-with-https-and-ssl.aspx
That's great, but how do I turn it off?!
Thanks in advance,
Lee C.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…