Q: How do I create a certificate to enable System Center App Controller to manage Windows Azure?
To manage and deploy to Windows Azure from System Center App Controller, you need to generate a certificate that’s at least 2048 bits in length.
February 29, 2012
A: To manage and deploy to Windows Azure from System Center App Controller, you need to generate a certificate that’s at least 2048 bits in length.
There are numerous ways to create the certificate and install it, but the easiest way is to use the makecert utility that’s part of the Microsoft SDK.
At C:Program Files (x86)Microsoft SDKsWindowsv7.0ABinx64> I entered the following command:
makecert -sk AzureMng -r -n "CN=AzureMng" -pe -a sha1 -len 2048 -ss My "AzureMng.cer"
The generated CER file is the public key of the certificate. The next step is to export the private key that was imported into the personal certificate repository:
Start the Microsoft Management Console.
From the File menu, select Add/Remove Snap-in.
Select Certificates, and click Add and select My user account from the displayed dialog box, then click Finish.
Click OK to close the Add Snap-in dialog box.
Expand Personal, Certificates.
Right-click the certificate created, and select All Tasks, Export.
Click Next to the Export dialog box.
Select Yes to export the private key.
Accept the default PFX format and click Next.
Enter a password and click Next.
Select the location and name for the exported certificate PFX and click Next.
Click Finish.
To import the certificate in Windows Azure perform the following:
Connect to your Azure site, then navigate to the Hosted Services, Storage Accounts & CDN workspace and select Management Certificates
Select the Add Certificate action.
Select your .CER file and click OK to complete the import process.
Finally, add the Windows Azure service to System Center App Controller where you will use the PFX export with the private key and the password you set:
Connect to the System Center App Controller website.
Select Clouds in the navigation area and select Connect, Windows Azure Subscription.
Enter a name and description for the connection, the Azure subscription ID, and then the PFX file and password. Click OK.
System Center App Controller is now connected to Windows Azure.
We do more than Windows--check out all of John Savill's FAQs for Windows.
About the Author
You May Also Like