Recently I had to enable secure connection (HTTPS) for my Azure Cloud Service web role that has three separate environments: education, testing and production. I’m using Octopus Deploy to automate my deployments to Azure. This guide will tell how you can automatically change the SSL certificate thumbprint in ServiceConfiguration.Cloud.cscfg based on the environment you are deploying to.
I’m developing an ASP.NET MVC application which consists of two Azure Cloud Services, web role and worker role (two separate solutions). The Continuous Integration part is handled with JetBrains TeamCity and Octopus Deploy. Those are some pretty neat tools but not so well documented in terms of Azure Cloud Service deployment.