[英]Possible to use self-signed SSL certificate with itms-services
I'm trying to install a beta app to an iOS device and am hosting the manifest.plist and IPA file on HTTPS with a self-signed certificate. 我正在尝试将beta应用程序安装到iOS设备上,并使用自签名证书在HTTPS上托管manifest.plist和IPA文件。 When I hit the itms-services:// link, I get an error of "Cannot connect to <ip address>".
当我点击itms-services://链接时,出现错误“无法连接到<ip地址>”。
itms-services link: itms-services链接:
itms-services://?action=download-manifest&url=https://10.0.1.2:1338/ipa/manifest.plist
plist: plist中:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
<key>kind</key>
<string>software-package</string>
<key>url</key>
<string>https://10.0.1.2:1338/ipa/test.ipa</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.company.test</string>
<key>bundle-version</key>
<string>1.0</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>test</string>
</dict>
</dict>
</array>
</dict>
</plist>
Try adding your certificate to the trusted ones (probably, easiest thing to do is to mail a cer
file to device and open it from standard mail app to install). 尝试将您的证书添加到受信任的证书中(可能最简单的方法是将
cer
文件邮寄到设备,然后从标准邮件应用程序打开它以进行安装)。
Another thing you need to make sure is that your server supports TLS 1.2 and Forward Secrecy. 您需要确保的另一件事是您的服务器支持TLS 1.2和Forward Secrecy。
You can use nscurl --ats-diagnostics https://example.com/app.ipa
to check if everything done right. 您可以使用
nscurl --ats-diagnostics https://example.com/app.ipa
检查所有操作是否正确。
Its possible: 这是可能的:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.