iOS7.1版本的in-house app必须发布到https站点才能下载安装,原来的链接:html
itms-services://?action=download-manifest&url=http://example.com/manifest.plistios
须要修改成:web
itms-services://?action=download-manifest&url=https://example.com/manifest.plistapache
可参见:windows
http://www.hanchorllc.com/2014/02/01/ios-7-1-requires-ad-hoc-installs-to-be-over-https/服务器
方案1:将ipa文件和plist文件上传到dropBox上,可参见:app
方案2:购买第三方CA证书url
方案3:使用openssl生成自签名证书spa
现以apache_2.2.8做为web服务器为例说明方案3
将文件openssl.cnf拷贝到bin目录下,依次执行下列语句:
openssl genrsa -out server.key 1024
openssl req -new -key server.key -out server.csr -config openssl.cnf
openssl genrsa -out ca.key 1024
openssl req -new -x509 -days 365 -key ca.key -out ca.crt -config openssl.cnf
openssl ca -in server.csr -out server.crt -cert ca.crt -keyfile ca.key -config openssl.cnf
如提示输入Common Name,请输入服务器IP或域名。最后一条指令执行前须要在bin目录建立demoCA,里面建立文件夹newcerts和文件index.txt及serial,index.txt为空,serial内容为01。
将生成的文件server.crt和server.key拷贝到D:\Program Files\Apache Group\Apache2\conf下面,这个位置能够在httpd-ssl.conf文件中修改
将.plist和.ipa文件拷贝到D:\Program Files\Apache Group\Apache2\htdocs,这个位置也能够在httpd-ssl.conf中修改,若是是http访问方式则在httpd.conf中修改
将ca.crt用邮件发送到设备,在设备上安装后用Safari访问
tms-services://?action=download-manifest&url=https://example.com/manifest.plist。实际状况下能够作一个html文件,把上述地址作出一个连接。
httpd -k -install
Apache -k install
http://blog.csdn.net/zhaoxy_thu/article/details/21133399#reply
http://stackoverflow.com/questions/22411449/ios-7-1-ota-ssl-error
http://www.hanchorllc.com/2014/02/01/ios-7-1-requires-ad-hoc-installs-to-be-over-https/
http://hi.baidu.com/johnzhjfly/item/024b494104674ee91e19bc95