.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!



Post New Resource Bookmark and Share   

Windows Azure - Add New Certificates to Azure Application

Posted By:Karthikeyan Anbarasan       Posted Date: June 28, 2011    Points: 200    Category:    URL: http://www.f5debug.net/  

Windows Azure - Add New Certificates to Azure Application
 

Introduction:

In this article we are going to see how to add a new certificate to an Azure application starting with the deployment of the azure application to the Azure Management Portal

Overview:

Adding certificate to an Azure application is something which requires basic idea of what a certificate it and what types of certificates are available(Check my previous article on Overview of Certificates in Azure). Once we are confident on what certificates are and which type of certificate to use we are well set to start with the process of adding the certificate to the cloud application. In our sample we will see on how to add a Service Certificates to an Azure application. Lets jump-start to see the steps on how to create and configure a certificates in Azure Management Portal.

Steps:

First we will create a new Cloud application (Azure App) with a web role and an asp.net project as shown in the screen below(Check my earlier article on How to create this application Step by step)

image

Now right click on the Azure Application and Select Publish option as shown in the screen below

image

Here this is an important step to select the option for deploying the application to the cloud, we have 2 options here to do a direct deploy or to prepare a service configuration files to do a manual deploy.

image

Since in our sample we are going to Add a new certificate we will select "Deploy your Windows Azure Project to Windows Azure" as shown in the screen below and select the drop down box Credentials and select ADD as shown below.

image

Here we are going to do some manual configurations to create a certificate for authentication purpose. So Select the first drop down box as highlighted in the screen below.

image

We can see a list of Certificates available, may be in you system there will not be any certificates since its not created one. Now select Create option to create a new application certificate as shown in the screen below.

image

Clicking on Create will pop up a window asking for some friendly name for the certificate to make it as identification if we need to create with more than 1 certificate as shown in the screen below

image

Once we give the certificate friendly name, now click on OK button will go back to the previous screen where we need to see the option no 2 as highlighted in the screen below. Copy the full path option will allow us to copy the location of the certificate to use it across the places required. So Click on that link button as shown in the screen below

image

Now we can see a pop up indicating that the Certificate path details are copied to the windows clipboard to use it across as shown in the screen below

image

Now click on the option 2 link Windows Azure Portal  or we can directly go to www.microsoft.com/windowsazure/

 to open the Azure management portal as shown in the screen below

image

Provide the credentials for the Azure portal and we can see the screen as shown below

screenshot_07

Now click on Hosted services, Storage Accounts and CDN as shown in the screen below and we can see Hosted Services Menu at the left side. Click on that will open the list of applications hosted as shown in the screen below.

image

Now select the application where we need to add the certificate and Click on ADD Certificate option as shown in the screen below

image

We can see a pop-up window asking for some inputs of the certificate as shown below. Now click on browse button as shown in the screen below

image'

Now Paste the path which we copied initially on where the certificate is located in the browse option as shown in the screen below and click on open

image

Now the certificate file is added and there will be an option to enter a password, we can create our own password for authentication as shown in the screen below and click on Create button

image

Now we can see a new Certificate is added to the hosted service as highlighted in the screen below, which indicates that a new certificate has been created and added to the application.

image'

So now we are well set with adding a certificate (Self created) to an existing application deployed on the Azure Management portal

Conclusion:

So in this article we have seen how to create a new certificate and add the certificate to an Azure application using Azure Management Portal



     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend