Azure Recovery Services gives an error message when I upload certificate in it

Azure Recovery Services gives an error message when I upload certificate in it.

I generate an certificate with makecert.exe fom CMD

C:\Program Files (x86)\Microsoft SDKs\Windows\Bin>makecert -r -n "CN=cert.cer" -b 01/01/2015 -e 01/01/2017 -sky signature c:\cert.cer

Then I instal it to my server. But when I try to upload it to "Azure Recovery Services" - Azure gives an error: "Invalid certificate uploaded. Please verify that the certificate is not expired, has at least 2048 bit key, enhanced key usage is Client Authentication and expiration date is not more than 3 years from current date."

How can I create a certificate for the right boot?

September 2nd, 2015 6:35am

Hi Alex,

I suggest you to follow the below steps and recreate the certificate:

  1. makecert.exe -r -pe -n CN="Windows Azure Recovery Services" -eku 1.3.6.1.5.5.7.3.2 -e 12/12/2015 -len 2048 -sky exchange WindowsAzure.cer -sv WindowsAzure.pvk

    2. (when prompted for password, select NONE)

    3. pvk2pfx.exe -pvk WindowsAzure.pvk -spc WindowsAzure.cer -pfx WindowsAzure.pfx
    4. In the server you wish to register: Import the .PFX using MMC console (add-snap in... Local Computer), Personal. Make sure you mark it as being exportable.

    5. After the PFX is imported, right-click it and then export the .CER file (DER Encoded binary X.509).

    6. Upload .CER file into Windows Azure Recovery Services Vault

Hope this helps you.

Girish Prajwal

Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 11:56am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics