4

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

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

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

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

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

4

2 回答 2

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
于 2012-05-13T05:41:03.027 回答
1

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

于 2012-04-02T11:06:36.293 回答