【问题标题】:iOS: config profile for mobile device managementiOS:用于移动设备管理的配置文件
【发布时间】:2012-04-15 18:11:18
【问题描述】:

我能够在 Mac OS 10.6.8 中创建和安装(在 iOS 设备中)由 iPhone 配置实用程序 (IPCU) v3.5(289) 生成的通用 mobileconfig 配置文件。

但是当我为移动设备管理生成配置文件时,无法在 iOS 设备中安装它。

我想知道设置身份我应该使用哪个证书。 我有 iOS 开发者帐户和 iOS 企业帐户。所以我可以创建所需的证书。

对于身份部分,我也尝试使用 SCEP,但没有运气,所以我想在 Credentials 中使用所需的证书。

如果有人有任何示例 mdm 配置文件,请分享。任何帮助将不胜感激。

【问题讨论】:

    标签: ios configuration mdm payload


    【解决方案1】:

    您可以为身份证书使用新证书 - 它不必来自任一开发者帐户。将证书(p12 格式)上传为新的“凭据”,然后为 iPCU 中的 MDM 有效负载选择此证书。

    【讨论】:

      【解决方案2】:

      在服务器端生成自签名 ssl 证书时,生成 identity.p12 证书,此证书需要在 IPCU 的身份部分使用。

      这几行可以用来生成 identity.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
      

      【讨论】:

      • 能否请您解释第三个 openssl 命令如何获取这些“-CA cacert.crt -CAkey cakey.key -CAcreateserial”。
      猜你喜欢
      • 2013-09-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-11-13
      相关资源
      最近更新 更多