2

OTA 登録の最後の部分として MDM プロファイルを iPad にインストールしようとしているときに、この問題に遭遇しました。

NSError:
Desc   : The identity certificate for com.xyz.profile.mdm1 could not be found.
US Desc: The identity certificate for com.xyz.profile.mdm1 could not be found.
Domain : MCMDMErrorDomain
Code   : 12005
Type   : MCFatalError
Params : (
"com.xyz.profile.mdm1"
)

誰が私が欠けている情報を知っていますか? これは、SCEP 登録が完了した後、MDM ペイロードを IOS デバイスにインストールしようとしたときです。

これは私が送信しているペイロードです

<dict>
  <key>AccessRights</key>
  <integer>2047</integer>
  <key>CheckOutWhenRemoved</key>
  <true/>
  <key>IdentityCertificateUUID</key>
  <string>00000000-0000-0000-0000-000000000000</string>
  <key>PayloadDescription</key>
  <string>Configures MobileDeviceManagement.</string>
  <key>PayloadIdentifier</key>
  <string>com.xyz.profile.mdm</string>
  <key>PayloadOrganization</key>
  <string></string>
  <key>PayloadType</key>
  <string>com.apple.mdm</string>
  <key>PayloadUUID</key>
  <string>3DF45C81-F1C4-4427-A61D-0581D9303214</string>
  <key>PayloadVersion</key>
  <integer>1</integer>
  <key>ServerURL</key>
  <string>https://mymachine:2345/profile</string>
  <key>SignMessage</key>
  <false/>
  <key>Topic</key>
  <string>com.apple.mgmt.xyz</string>
  <key>UseDevelopmentAPNS</key>
  <false/>
</dict>
4

2 に答える 2

4

自己署名SSLを使用している場合は、サーバー側で自己署名SSL証明書を生成するときに、IPCUのIDセクションで使用する必要があるidentity.p12証明書とこの証明書を生成します。

idendtity.p12を生成するために使用できるこれらの数行

//Creating the device Identity key and certificate request

openssl genrsa 2048 > identity.key
openssl req -new -key identity.key -out identity.csr


//Signing the identity key with the CA. 
//Give it a passphrase. You'll need to include that in the IPCU profile.

openssl x509 -req -days 365 -in identity.csr -CA cacert.crt -CAkey cakey.key -CAcreateserial -out identity.crt

openssl pkcs12 -export -out identity.p12 -inkey identity.key -in identity.crt -certfile cacert.crt
于 2012-05-13T05:49:13.987 に答える
1

プロファイルを受け入れるには、デバイスのペイロードを含むID証明書を送信する必要があります。この証明書のPayloadUUIDは、MDMdictのIdentityCertificateUUIDの値として設定する必要があります。

iPCUでプロファイルを作成して、Credentialブロックの形式を確認してみてください。

于 2012-02-29T16:07:53.560 に答える