似乎有几次被问到,但我无法找到我怀疑的答案.
当我将MDM配置文件中的服务器URL设置为我拥有的任何服务器时,配置文件无法安装在控制台中,因为"无法找到com.abc.mdm.mdm1的身份证书".
如果有人可以将我重定向到设置MDM服务器的详细步骤,那将会很有帮助.我在Apple的WWDC 2010视频中找不到任何此类内容.
编辑:我尝试过的更多东西
我正在尝试为iPhone配置MDM服务器,并尝试了以下步骤.
在我从列表中选择任何其他证书时的凭证有效负载中 - 例如VeriSign - 在MDM有效负载中我启用了Identity下拉列表并可以选择配置的凭证,但这是一个无效的证书.
编辑:添加的图像
编辑:进一步移动 通过这里和那里的一些点击,我现在能够启用"身份"字段.但是当我尝试安装配置文件时,我收到错误,因为"配置文件无法安装",并在控制台中显示消息
Nov 22 15:15:11 Apple-iphone-4 profiled[1320] <Warning>: MDM|Cannot Authenticate. Error: NSError 0x1ddb8f50:
Desc : A transaction with the server at https://abc.com has failed with the status 405.
US Desc: A transaction with the server at https://abc.com has failed with the status 405.
Domain : MCHTTPTransactionErrorDomain
Code : 23001
Type : MCFatalError
Params : (
"https://abc.com",
405
)
Nov 22 15:15:11 Apple-iphone-4 profiled[1320] <Warning>: MC|Cannot install MDM com.abc.ota.mdm2. Error: NSError 0x1ddb9120:
Desc : The payload com.abc.ota.mdm2 could not be installed.
Sugg : A transaction with the server at https://abc.com has failed with the status 405.
US Desc: The payload com.abc.ota.mdm2 could not be installed.
US Sugg: A transaction with the server at https://abc.com has failed with the status 405.
Domain : MCInstallationErrorDomain
Code : 4001
Type : MCFatalError
Params : (
"com.abc.ota.mdm2"
)
Run Code Online (Sandbox Code Playgroud)
编辑:长时间休息后继续
这是我到目前为止所做的总结.
我在服务器上托管了这个配置文件.当我在设备上下载它时,我会在设备上看到配置文件安装.当我安装此配置文件时,我最终收到错误消息"无法安装配置文件MDM".在查看设备日志时,我发现了
<Notice>: (Error) MDM: Cannot Authenticate. Error: NSError:
Desc : A transaction with the server at “https://abc.com” has failed with the status “400”
Run Code Online (Sandbox Code Playgroud)
****IMP:**我注意到生成的推送证书上写着"此证书是由未知的权威机构签署的"**.还没有与之关联的私钥.
我怀疑在Credentials有效载荷中选择证书是错误的(步骤5).
此外,当显示"配置文件安装"屏幕时,我在配置文件名称下面显示"未验证".
解决了
对于"未知权限"问题,我安装了Apple的Application Integration证书.我现在能够执行MDM命令.
完成步骤
https://drive.google.com/file/d/0B9vJDmfd2qb9RmdGNlp4OUR3eVk/view?usp=sharing https://drive.google.com/file/d/0B9vJDmfd2qb9eGlkUk44ajZrWjg/view?usp=sharing
小智 5
你只需要3件事
1)mdm有效负载与mdm url以https://
2)证书开头,您使用Apple开发人员门户下载该证书.这在Apple网站上有详细说明
.3)将此证书(.p12)文件链接到mdm有效负载的标识部分
您的服务器需要打开必要的端口 - 这也记录在案.服务器需要监听PUT方法而不是GET或POST.
如果您在上面执行 - 您将看到您的设备发送deviceToken,pushMagic等.
归档时间: |
|
查看次数: |
8888 次 |
最近记录: |