我们的服务遍布中国

我们的服务遍布中国
乃至世界

光网所服务的品牌地域与城市
北京 天津 上海 广州 深圳 香港 厦门 江苏 浙江 山东
重庆 长沙 武汉 成都 西安 宁夏 丽江 青海 云南 乌鲁木齐
黑龙江 内蒙古 河北 ...
光网服务与合作的全球各地
美国 加拿大 德国 法国 英国 瑞士 意大利 荷兰
印度 日本 韩国 ...

不论你的品牌在何处
我们都可以提供完善的服务与帮助

致电

0512-56969630
您所在的位置:首页 > SSL证书

iphone 签名.mobileconfig文件

发布时间:2016/10/24 23:32:48 浏览:147打印字号:

  • company.mobileconfig 未签名的mobileconfig文件

  • server.crt 你的服务器SSL证书

  • server.key 您的私钥

  • ca-bundle.crt 你的根证书链

  • signed.mobileconfig 签名过的mobileconfig名字

签名命令:

openssl smime -sign -in company.mobileconfig -out signed.mobileconfig -signer server.crt -inkey server.key -certfile ca-bundle.crt -outform der -nodetach

服务器设置:

apache 要添加MIME

AddType application/x-apple-aspen-config .mobileconfig

nginx 修改mime.types

application/x-apple-aspen-config .mobileconfig

服务器端开发 – PHP语言:

header('Content-type: application/x-apple-aspen-config; chatset=utf-8');
header('Content-Disposition: attachment; filename="company.mobileconfig"');
echo $mobileconfig;