【问题标题】:How to verified .mobileconfig file?如何验证 .mobileconfig 文件?
【发布时间】:2015-09-26 11:05:11
【问题描述】:

我使用 Apple Configurator 创建了一个 .mobileconfig 文件。 当我在 iOS 设备上安装这个文件时,它显示“未验证”。

那么,如何验证呢?

【问题讨论】:

    标签: ios file certificate ssl-certificate


    【解决方案1】:

    使用以下命令在终端中检查可用于签署配置文件的证书。

        security find-identity -v -p codesigning
    

    然后使用以下命令对配置文件进行签名。

     /usr/bin/security cms -S -N "[Signing Certificate]" -i "[input]" -o "[output]"
    

    EG: - /usr/bin/security cms -S -N "signing certificate(generally developer id)" -i '未签名配置文件路径' -o '未签名配置文件副本路径'

    注意 - 应该有两个 mobileconfig 文件,一个用于输入,另一个用于输出。它不会创建新的配置文件。它只会使用输入配置文件的值对输出配置文件进行签名。

    【讨论】:

    • 知道如何在 XCode 项目中使用它并以编程方式签署配置文件吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-01-27
    • 2021-02-25
    • 2023-03-07
    • 1970-01-01
    相关资源
    最近更新 更多