Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSL on Azure Shared Plan?

I have a 1 website and 1 database and 1 SSL hosted on azure. I used to have the 'Basic' hosting package but was paying $70 a month for a bare bones setup with the minimum scaling on everything.

I realize my low traffic site doesn't need a dedicated machine so I tried moving to a Shared plan. Now it is telling me I have to be on the Basic plan in order to have an SSL.

Is there a way around this? Or am I actually expected to pay roughly $70 a month for the most basic website setup out there?

like image 305
hanesjw Avatar asked Dec 15 '15 01:12

hanesjw


People also ask

Does Azure provide SSL certificate?

- Free SSL certificate is available in Azure provided by DigiCert. But wildcard is not supported.

Is SSL free in Azure?

Azure Web Apps is a great place to host web creations. Apps even come with a free SSL cert for users without a custom domain. That said, it is highly recommend anyone serious about building a web app for their business create a custom domain (and obtain an SSL Cert).

How do I enable SSL in Azure?

In the Azure portal, from the left menu, select App Services > <app-name>. From your app's navigation menu, select TLS/SSL settings > Private Key Certificates (. pfx) > Import App Service Certificate. Select the certificate that you just purchased, and then select OK.

How do I add an Azure SSL to my own domain?

In the Azure portal, from the left menu, select App Services > <app-name>. From the left navigation of your app, start the TLS/SSL Binding dialog by: Selecting Custom domains > Add binding. Selecting TLS/SSL settings > Add TLS/SSL binding.


2 Answers

There's a work around to Azure not allowing SSL on Shared web app plans with custom domains.

You can create your website with Azure shared plan, and use CloudFlare to route your traffic to your domain. So basically your domains DNS would point to CloudFlare and you would configure CloudFlare with your azure shared website. CloudFlare Free plan comes with a free SSL certificate. So essentially your traffic is SSL secured.

Troy Hunt shows the way.

like image 63
Dharmendar Kumar 'DK' Avatar answered Sep 27 '22 18:09

Dharmendar Kumar 'DK'


If you need SSL over your custom domain there's no way, at least on azure web Apps. You'll need to run the site in Basic plan.

The workaround:

Deploy your site in an Azure VM using the cheaper plan: A0 15 USD / month and configure there your IIS + SSL Certificate

enter image description here

Otherwise

If you need HTTPS using your azurewebsites domain (mysite.azurewebsites.net) this one IS included in service just use https to browse the website.

like image 23
JuanK Avatar answered Sep 27 '22 16:09

JuanK