iphone签名.mobileconfig文件–HTTPSSSL教程-创新互联

iphone 签名.mobileconfig文件 – HTTPS SSL 教程

大庆网站建设公司创新互联,大庆网站设计制作,有大型网站制作公司丰富经验。已为大庆成百上千家提供企业网站建设服务。企业网站搭建\外贸网站建设要多少钱,请找那个售后服务好的大庆做网站的公司定做!

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;

iphone 签名.mobileconfig文件 – HTTPS SSL 教程

全球可信CA机构


本文标题:iphone签名.mobileconfig文件–HTTPSSSL教程-创新互联
链接URL:http://csdahua.cn/article/dsiegp.html
扫二维码与项目经理沟通

我们在微信上24小时期待你的声音

解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流