How to create a certificate for use with Windows Azure Services

Source: Internet
Author: User

Uploading an image to Windows Azure requires that you create the certificate, and after you create the certificate, you must add it to your subscription in Windows Azure.

One approach is to use IIS Manager and then establish a self-signed certificate in it.

After you establish the certificate, you need to export the certificate two times-once with the private key. pfx format, and the other time without the. cer format. The reason you have to do this two times is because you need to upload a certificate that does not contain a private key to Azure. A certificate with a private key needs to be imported to the personal certificate store on the current user. When you establish credentials in IIS Manager, it places the credentials in the personal storage area of the local computer, which is why you need to guide it and add it to the current user's personal storage area.

650) this.width=650; "title=" zhengshu.jpg "style=" Float:none "alt=" wkiol1n3gagqnkjraajcqhnk_9e769.jpg "src=" http:/ /s3.51cto.com/wyfs02/m01/28/5d/wkiol1n3gagqnkjraajcqhnk_9e769.jpg "/>

Exporting a certificate is fairly straightforward, simply click the certificate in IIS Manager, then click the Details tab of the certificate properties and click the Copy to File ... button. I'm sure you can use the wizard to find out how to export a certificate with and without a private key. After you export a certificate with a private key (. pfx file), open the Certificates MMC snap-in and import the certificate into the personal store of your user account. For an export certificate without a private key, simply navigate to and upload the certificate in the Azure portal.

650) this.width=650; "title=" zhengshu2.jpg "alt=" wkiom1n3gsog6mieaah0ir4xkl4212.jpg "src=" http://s3.51cto.com/ Wyfs02/m02/28/5d/wkiom1n3gsog6mieaah0ir4xkl4212.jpg "/>

When you are in the Manage Certificates section in the Azure Management portal, you can upload the exported certificate (. cer file).

Of course, creating a certificate can also use the MakeCert command

such as: Makecert-sky exchange-r-N "cn=sasservice.cloudapp.net"-pe-a sha1-len 2048-ss "Slhdemoazure.cer", then you can install the certificate, MakeCert Certificate Creation Tool http://msdn.microsoft.com/zh-cn/library/bfsktky3.aspx

650) this.width=650; "title=" zhengshu5.jpg "alt=" wkiol1n3hw6xjd14aadxzt_76ds163.jpg "src=" http://s3.51cto.com/ Wyfs02/m01/28/5d/wkiol1n3hw6xjd14aadxzt_76ds163.jpg "/>

This article is from the "Go to the Sky" blog, please be sure to keep this source http://songlihuan.blog.51cto.com/8735257/1413019

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.