Setting Up Azure Deployment Certificates
Azure deployments can be integrated within Visual Studio 2010, making it easy for you to package, deploy and publish your solution to an Azure cloud. This blog post will show you how to integrate your Azure deployments using Visual Studio 2010 with an easy two step process. First, you have to create a certificate within Visual Studio, and second, you have to configure your Azure environment to accept that certificate.
- To create a certificate, begin by right clicking your project in the Solution Explorer pane.
- Then, in the Credentials dropdown, select <Manage…>
- Then, select New.
- In the window that appears, 3 steps must be completed before proceeding. To complete step 1, expand the first drop down and select Create… and create a certificate. To complete step 2, click “Copy the full path”. Now, we have to digress from this dialog box and cover the second part of our exercise (configuring the Azure portal to accept our certificate), before coming back to finish up here.
- Login to the Windows Azure Portal, click Hosted Service, Storage Accounts & CDN, then click Management Certificates. Click Add Certificate, (upper left) which opens a dialog box. Paste the path to the certificate path (the certificate path was put in the clipboard during Step 4) in the dialog box, and then click OK.
- Copy the Subscription ID from the field as show above. The ID has been censored in the screenshot in the screenshot, but will appear as a hexadecimal string similar to the example ID shown in Step 4.
- Paste the Subscription ID into the dialog box from Step 4, and click OK.