iOS:用于移动设备管理的配置文件
问题描述:
我能够在Mac OS 10.6.8中创建并安装(在iOS设备中)由iPhone配置实用程序(IPCU)v3.5(289)生成的常规mobileconfig配置文件。iOS:用于移动设备管理的配置文件
但是,当我为移动设备管理生成配置文件时,无法将其安装到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
答
您可以使用新证书作为身份证书 - 它不一定是来自任一开发者帐户的证书。上传证书(p12格式)作为新的“证书”,然后在iPCU中为MDM有效载荷选择此证书。
能否请您解释第三OpenSSL的命令如何让这些“-CA cacert.crt -CAkey cakey.key -CAcreateserial”几行。 – Imran 2014-11-20 02:32:03