How to create a certificate – for Azure
03-Oct-1313 Leave a comment
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
Not sure still learning, but current notes are
- Windows start type mmc.exe
- Probably current user for self-signed
- Select certificate
- Right-click All Tasks – Export
- Export with Private Key and Password
- 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/