iOS:用于移动设备pipe理的configuration文件

我能够在Mac OS 10.6.8中创build和安装(在iOS设备中)由iPhoneconfiguration实用程序(IPCU)v3.5(289)生成的常规mobileconfigconfiguration文件。

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

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

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

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

在服务器端生成自签名的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 

您可以使用新的证书作为身份证书 – 它不一定是来自开发者帐户的证书。 上传证书(p12格式)作为新的“证书”,然后在iPCU中为MDM有效载荷select此证书。