Floating FB popout byF5debug

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.

[more]

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)

clip_image001

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

clip_image002

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.

clip_image003

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.

clip_image004

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.

clip_image005

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.

clip_image006

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

clip_image007

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

clip_image008

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

clip_image009

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

clip_image010

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

clip_image011

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.

clip_image012

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

clip_image013

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

clip_image014

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

clip_image015

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

clip_image016

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.

clip_image017

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

About Author: Karthikeyan Anbarasan, Microsoft MVP (Most Valuable Professional) in ASP.NET/IIS Architecture. He is the Founder and Chief Editor of the www.f5debug.net website and has authored books on Windows Phone and Business Intelligence(SSIS). He is also a Passionate Speaker and a Blogger on Microsoft Technologies.

You can Join Me On: Facebook, Twitter, Google Plus, LinkedIn

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Recent Posts

Random Posts

Most Viewed

URL Shortner

Create your own short urls!!!

Site Counter

free counters

Disclaimer

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. For accuracy and official reference refer to MSDN/ TechNet. I have documented my personal experience on this blog.

Protected by Copyscape Web Plagiarism Finder

Site Meter