Floating FB popout byF5debug

Windows Azure – Creating a x509 Management Certificate in Azure Portal – Part 1

 

Introduction:

In this article we are going to see how to create a new x509 Management Certificate using IIS 7.

Overview:

This article will give an overview on how to create a X509 Management Certificate and add it to the Windows Azure Management Portal to the hosted services. In our earlier article we have seen how to create a service certificate using the Publish options with Visual Studio 2010, this is the second type of the certificate which we will see how to create and use it in our process.

[more]

Let us jump start to see the step by step process of creating the certificate and deploying it in Windows azure using the management portal.

Steps:

Open IIS 7 but Start –> run –> inetmgr as shown in the screen below

clip_image001

We can see IIS 7 is opened and all the components are listed as shown in the screen below.

clip_image003

In the components listed select the Server Certificates, and we can see the options to manage the servers as well in the right corner as shown in the screen below.

clip_image005

Double click on the Server Certificates will open a tab which has the list of certificates installed to the environment. In the right side menu we can see an option Create Self Signed Certificate as shown in the screen below.

clip_image006

Clicking on Create Self Signed Certificate will open a window asking for the friendly name for the certificate as shown below. Provide a friendly name (Note it should be used in later sections) so provide some name which will be remembered.

clip_image007

We can see an item added to the list after creating the friendly name for the certificate as highlighted in the screen below. We can see the Expiration date of the certificate (1 Year valid).

clip_image008

Now we are done with the IIS section and we can close the IIS and go back to Start –> Run –> and give Certmgr as shown in the screen below.

clip_image009

This certificate manager will open a window will all the list of certificate options as shown in the screen below. Now click on the Trusted Root Certificate Authorities as shown in the screen below

clip_image010

We can see a Sub Folder as Certificates and clicking on Certificates will show up all the certificates available in the environment as shown in the screen below.

clip_image011

Now go the Friendly Name filter and search for the certificate which we created as highlighted in the screen below.

clip_image012

Now right click on our certificate and go to All Task and select Export option as shown in the screen below

clip_image013

A wizard window opens and we can see the option to copy certificates  stored on our local environment as shown in the screen below.

clip_image014

Clicking on Next will open an option to select how to do the export for the Private Key. Here we select No, do not export the private key option as shown in the screen below and click on Next button.

clip_image015

Now we can see some encryption method used to do the export, by default it will be selected DER Encoded binary X.509 as shown in the screen below. we can use the same to do the encoding and click on Next button.

clip_image016

Clicking on Next button will move to the next window where we are asked to select the certificate location to export the certificate , as per our convenience we can select it to any folder. Here we have selected desktop to save the certificate file as shown in the screen below.

clip_image017

Clicking on next button will open a summary of the options selected as shown in the screen below.

clip_image018

Clicking on Finish will show that the export has been completed successful as shown in the screen below

clip_image019

Now we can see a .cer file available in the desktop with the name we created as shown in the screen below.

clip_image020

Conclusion:

In this article we have seen on how to create a x509 management certificate using IIS 7.0, in the coming article we will see how to add the certificate to the Windows 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