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

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

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

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

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

最佳答案

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

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

关于iOS:用于移动设备管理的配置文件,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/9970406/

10-13 06:55