Octopus Deploy: Automatically transform SSL thumbprint

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.