我的配置文件中的MDM有效负载不是使用IPCU安装的,我有一个P12文件,P12文件与签入服务器有关系吗?如何部署MDM签到服务器来解决这个问题?
发布于 2012-05-20 11:31:55
是,与server.Your服务器链接相关的identity.p12必须以"https“开头
如果您使用的是自签名ssl,那么在服务器端生成自签名ssl证书的同时,生成identity.p12证书,这个证书需要在IPCU的identity部分使用,并使用相同的密码。
下面这几行代码可用于生成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要部署服务器,请使用MDM_Protocol pdf,其中包含示例服务器的详细信息。
https://stackoverflow.com/questions/10491789
复制相似问题