提供MDM的DeviceLock有效载荷 [英] Delivering MDM DeviceLock Payload

查看:260
本文介绍了提供MDM的DeviceLock有效载荷的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们能够获得与状态为空闲的响应发送第一个有效载荷为MDM后:.现在我们要发送一个简单的设备锁有效载荷。我们遵循完全相同的进程发送有效载荷,但响应返回是空白的。

我们所遵循的证书使用方法如下:
1.在MDM服务器,发送MDM命令,我们使用的MDM厂商与标识符作为com.apple.mgmt.myapp APNS证书(此标识符设置为在配置模板主题)。
2.在配置文件中,我们设置的凭据,这是由MDM客户端返回的P12文件。

我收到下面的错误..:MC |无法解析配置文件数据。错误:

  NSError 0x1c58c2f0:
    说明:无效的个人资料
    美国说明:无效的个人资料
    域:MCProfileErrorDomain
    code:1000
    类型:MCFatalError
    <警告计算值:MDM |命令状态:错误
    错误:NSError 0x1c58c2f0:
    说明:无效的个人资料
    美国说明:无效的个人资料
    域:MCProfileErrorDomain
    code:1000
    类型:MCFatalError


解决方案

您不使用APNS发送设备锁文件。该器件的手机之家通过它接收APNS后MDM有效载荷和你的服务器发回XML(不JSON!)含设备锁定命令中的设备。

We were able to get an response with Status as Idle after send the first payload as mdm:. Now we want to send a simple device lock payload. we followed the exact same process to send the payload but the response returned was blank.

We are following the certificate use as follows: 1. On the MDM server, To send mdm commands we use MDM Vendors APNS certificate with identifier as com.apple.mgmt.myapp.(This identifier is set as topic in configuration profile). 2. In the configuration profile, we are setting the credentials as the p12 file which is returned by the MDM Client.

I am getting the below error..: MC|Failed to parse profile data. Error:

    NSError 0x1c58c2f0:
    Desc   : Invalid Profile
    US Desc: Invalid Profile
    Domain : MCProfileErrorDomain
    Code   : 1000
    Type   : MCFatalError


    <Warning>: MDM|Command Status: Error
    Error: NSError 0x1c58c2f0:
    Desc   : Invalid Profile
    US Desc: Invalid Profile
    Domain : MCProfileErrorDomain
    Code   : 1000
    Type   : MCFatalError

解决方案

You do not send the device lock profile using APNS. The device 'phones home' after it receives the MDM payload via APNS and your server sends back XML (NOT JSON!) to the device containing the device lock command.

这篇关于提供MDM的DeviceLock有效载荷的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆