Apple MDM CSR Subscription Not Confirmed

I have been dealing with this issue for the past few days. Wonder if anyone else came across this. I am trying to sign a CSR with my MDM Vendor certificate. I follow the instructions in

http://adcdownload.apple.com//Documents/mobile_device_management_protocol/mobiledevicemanagement_121211.pdf

Below is a function that calculates the value for SHA1WthRSA

private static string DoSign(X509Certificate2 signerCert, byte[] csrDerBytes)
{
    var crypt = (RSACryptoServiceProvider)signerCert.PrivateKey;
    var sha1 = new SHA1CryptoServiceProvider();
    byte[] hash = sha1.ComputeHash(csrDerBytes);
    byte[] signedHash = crypt.SignHash(hash, CryptoConfig.MapNameToOID("SHA1"));            
    return Convert.ToBase64String(signedHash);
}

After attaching this signature to the encoded plist, as described, and uploading the request to the apple server ( https://identity.apple.com/pushcert ), I received:

{ "ErrorCode": - 80018, "ErrorMessage": " ", "ErrorDescription": " , http://www.apple.com/business/mdm \" target =\ "_ blank \" > </a> . "}

- , ?

+5
1

, , , , .

, , , CA, Apple WWDR CA.

+3

All Articles