您的位置:首页 > 其它

自有服务器发布ipa

2014-03-01 21:27 288 查看
=================================自己的https以及自签名的,以及在IIS上面,还没通
I've
successfully installed the certificate from your command-line tool to my IIS server. IIS requires .pfx files for both CA certificate and site certificate. Command line
openssl
pkcs12 -inkey mycert1.key -in mycert1.cer -export -out mycert1.pfx
can
be used to do the convert. I think it would be helpful for other people using IIS if .pfx generation can be added to your tool.===but seems finally failed on IIS
http://blog.httpwatch.com/2013/12/12/five-tips-for-using-self-signed-ssl-certificates-with-ios/
这个比较NB的5条。
首先需要别人安装证书,这条就很不靠谱啊!!!! 看来只能买证书了,另外,IP地址是不能用于证书的SSL的

openssl x509 -req -in mycert1.req -out mycert1.cer -CAkey myCA.key
-CA myCA.cer -days 365 -CAcreateserial -CAserial serial


The certificate created (mycert.cer) can be installed on a web server and accessed from any iOS device that already has the CA certificate installed.

========


New SSL Certificates Have to be Purchased When Moving Servers or Running Multiple Servers

Buying an SSL certificate involves:

Creating a CSR (SSL Certificate Signing Request) on your web server

Purchasing the SSL certificate using the CSR

Installing the SSL certificate by completing the CSR process

These steps are designed to ensure that the certificate is safely transferred to the web server and prevents anyone from using the certificate if they intercept any emails or downloads containing the certificate in step 2).

The result is that you cannot just use the files from step 2) on another web server. If you want to do that you’ll need to export the certificate in other format.

In IIS you can create a transferrable .pfx file that is protected by a password:

=================================依靠第三方

upload your app.plist to dropbox

get shared link of app.plist, like https://www.dropbox.com/s/qgknrfngaxazm38/app.plist

replace
www.dropbox.com
with
dl.dropboxusercontent.com
in
the link, likehttps://dl.dropboxusercontent.com/s/qgknrfngaxazm38/app.plist

write your
download.html
like
<a
href="itms-services://?action=download-manifest&url=https://dl.dropboxusercontent.com/s/qgknrfngaxazm38/app.plist">INSTALL!!</a>


upload the
download.html
to
dropbox

get shared link of download.html, like https://www.dropbox.com/s/gnoctp7n9g0l3hx/download.html

replace
www.dropbox.com
with
dl.dropboxusercontent.com
in
the second link as well, likehttps://dl.dropboxusercontent.com/s/gnoctp7n9g0l3hx/download.html

Now, visit
https://dl.dropboxusercontent.com/s/gnoctp7n9g0l3hx/download.html
in
your device, you can install the app like before.

WHAT A WONDERFUL WORLD!

===========================

可以做到远程,简介的安装,比工具便捷一些。

事实证明,没有域名也是可以的,版本是不重要的,在IIS上,不同的web容器上有些注意点:



ok,我们终于拿到了我们需要的HTTPS连接。

因为考虑到IOS7.1之前的系统仍然是HTTP访问,故我们需要做以一下处理

#if __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_7_0

trackUrl
=itms-services://?action=download-manifest&url=https://dl.dropboxusercontent.com/s/veimpxpa2fm0cqo/×××.plist;

#else

trackUrl =你以前的的PLIST文件的地址;

#endif
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: