Azure Web App Godaddy Wild Card SSL Certificates plus IIS
A quick, short note about getting your wildcard SSL certificates on to your Azure web app with custom domain mapping.
By the time you reach this stage,
- you should have already bought a domain from Godaddy
- you have spun up your azure web app
- mapped the web app to a custom domain.
I am not going to put any links on how to do the above. You need to do figure that out on your own.
That means, the only thing left to do, is to turn on that nice looking, https, lock symbol for your new azure web app.
In a nutshell.
- Get the wild card domain purchase done from SSL. Please note, during purchase, you dont actually mention any domain names. You simply purchase a ‘wildcard’ certificate.
- Then, you jump to IIS and create a ‘certificate request’
- Then, you submit the ‘request’ to godaddy ‘SSL’ download section.
- Then, you return to IIS and ‘complete the request’
- Then, you can bind it, in IIS.
- Then, in IIS, you can export it as PFX and password, which is what Azure Web App wants.
- On your Azure Portal, upload the PFX with the password.
Kaboom! SSL!!!
Other things to note.
- If you get the CSR directly generated from godaddy, that wont work. I mean, IIS wont complain but the certificate will keep disappearing. It makes sense because, that CSR obviously wont work with IIS because IIS never asked for it.
- Also, I would recommend you spin up a VM on Azure to do all these things. I mean, sure, you can setup IIS on your own laptop or desktop, but why mess with all that for a one time task.
- When you spin up a new VM, it wont have IIS already installed. You need to enable or install it, first.
- Also, ‘binding’ is not really an essentially step. Whether you do it or not, you can still export PFX just fine.
Additional links.
That’s all there is to it. Good luck with your SSL mapping. It is a pain, when it goes wrong.
I work as a full time freelance coding tutor. Hire me at UpWork or Fiverr or Stack Overflow. My personal website is here. Find more of my art at Behance and Unsplash. Also, I have a Podcast about everyday life. And, a 2nd Podcast, where I talk about freelancing.