How to create a certificate – for Azure

Using MakeCert

http://msdn.microsoft.com/en-us/library/bfsktky3.aspx

After using makecert, it may say Succeeded, but you may not be able to find the certificate.
If you started from c:\Windows\system32 then It may be in c:\Windows\SysWOW64

To create your own self-signed management certificates which will be valid for Azure, open a Visual Studio command prompt as an administrator, and then run the following command:

http://msdn.microsoft.com/en-us/library/windowsazure/gg551722.aspx

makecert -sky exchange -r -n “CN=<CertificateName>” -pe -a sha1 -len 2048 -ss My “<CertificateName>.cer”

The CN may need to be abc.cloudapp.net

NOTE: If you get:
Error: CryptCertStrToNameW failed => 0x80092023 (-2146885597)
Failed

Then try manually deleting each ” and re-typing

 

Export from MMC

http://social.technet.microsoft.com/wiki/contents/articles/2167.how-to-use-the-certificates-console.aspx

Not sure still learning, but current notes are

  1. Windows start type mmc.exe
  2. Probably current user for self-signed
  3. Select certificate
  4. Right-click All Tasks – Export
  5. Export with Private Key and Password
  6. Upload to the Service – Certificates in Azure

 

 

Configuring SSL for an application in Windows Azure

http://www.windowsazure.com/en-us/develop/net/common-tasks/enable-ssl/

http://msdn.microsoft.com/en-us/library/ms731074.aspx

Advertisements