<legend id='2nx1N'><style id='2nx1N'><dir id='2nx1N'><q id='2nx1N'></q></dir></style></legend>

<small id='2nx1N'></small><noframes id='2nx1N'>

      <bdo id='2nx1N'></bdo><ul id='2nx1N'></ul>

      <i id='2nx1N'><tr id='2nx1N'><dt id='2nx1N'><q id='2nx1N'><span id='2nx1N'><b id='2nx1N'><form id='2nx1N'><ins id='2nx1N'></ins><ul id='2nx1N'></ul><sub id='2nx1N'></sub></form><legend id='2nx1N'></legend><bdo id='2nx1N'><pre id='2nx1N'><center id='2nx1N'></center></pre></bdo></b><th id='2nx1N'></th></span></q></dt></tr></i><div id='2nx1N'><tfoot id='2nx1N'></tfoot><dl id='2nx1N'><fieldset id='2nx1N'></fieldset></dl></div>

      1. <tfoot id='2nx1N'></tfoot>

        无法在 Safari 或 UIWebView 中通过 HTTPS 观看 Quicktime 电影

        Cannot view Quicktime movies over HTTPS in Safari or UIWebView(无法在 Safari 或 UIWebView 中通过 HTTPS 观看 Quicktime 电影)

          1. <legend id='qabUT'><style id='qabUT'><dir id='qabUT'><q id='qabUT'></q></dir></style></legend>
            <i id='qabUT'><tr id='qabUT'><dt id='qabUT'><q id='qabUT'><span id='qabUT'><b id='qabUT'><form id='qabUT'><ins id='qabUT'></ins><ul id='qabUT'></ul><sub id='qabUT'></sub></form><legend id='qabUT'></legend><bdo id='qabUT'><pre id='qabUT'><center id='qabUT'></center></pre></bdo></b><th id='qabUT'></th></span></q></dt></tr></i><div id='qabUT'><tfoot id='qabUT'></tfoot><dl id='qabUT'><fieldset id='qabUT'></fieldset></dl></div>
            • <bdo id='qabUT'></bdo><ul id='qabUT'></ul>

              <small id='qabUT'></small><noframes id='qabUT'>

              <tfoot id='qabUT'></tfoot>

                  <tbody id='qabUT'></tbody>

                1. 本文介绍了无法在 Safari 或 UIWebView 中通过 HTTPS 观看 Quicktime 电影的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试让我的 iPhone 应用程序在 HTTP 之外使用 HTTPS,但使用 UIWebView 或 MPMoviePlayerController 查看 Quicktime MOV 文件似乎无法通过 HTTPS 工作.我得到这部电影无法播放".我尝试在 Safari 中消除我的应用程序的问题,同样的事情发生了.如果我使用 HTTP,它可以正常工作.

                  I am trying to get my iPhone application to work with HTTPS in addition to HTTP, but using UIWebView or MPMoviePlayerController to view a Quicktime MOV file doesn't seem to work over HTTPS. I get "This movie could not be played". I tried in Safari to eliminate my app as being the problem, and the same thing happened. If I use HTTP, it works fine.

                  此线程有类似的讨论,但没有解决方案:http://discussions.apple.com/thread.jspa?messageID=12908818

                  This thread has a similar discussion, but no resolution: http://discussions.apple.com/thread.jspa?messageID=12908818

                  我没有使用自签名证书;我的机器有一个注册的 SSL 证书,我使用 iPhone 配置实用程序将 GoDaddy 中间证书和普通证书推送到我的 iPad (4.2.1).我验证了它的工作原理,因为 Safari 在访问安全站点时不会像以前那样提示我有关证书的信息.我可以在 OSX 上使用普通浏览器(例如 FF 或 Safari)通过 HTTPS 观看电影,而不是 iOS.它似乎也可以在模拟器中工作,但我已经尝试过 iPhone 4.1 和 iPad 4.2.1.

                  I am not using self-signed certs; my machine has a registered SSL cert, and I pushed both the GoDaddy intermediate cert and the normal cert to my iPad (4.2.1) using iPhone configuration utility. I verified this works because Safari doesn't prompt me about the certificate when visiting the secured site, like it would before. I can view the movie over HTTPS using normal browsers such as FF or Safari on OSX, just not iOS. It also appears to work in the simulator as well, but I have tried both iPhone 4.1 and iPad 4.2.1.

                  是否有任何解决方法可以让我通过 HTTPS 观看视频?

                  Is there any workaround that will let me view video over HTTPS?

                  推荐答案

                  在遇到同样的问题和症状后,我能够访问提到的 Apple 开发者论坛主题 这里

                  After experiencing the very same problem and symptoms, I was able to gain access to the Apple Developer Forum thread mentioned here

                  Apple 线程的结果是您必须在服务器上安装有效的中间证书.仅安装服务器证书是不够的.

                  The upshot of the Apple thread is that you must have a valid Intermediate Certificate installed on the server. It is not enough to have only the server certificate installed.

                  我已经在 Mac OS X 10.6 Server 上对此进行了测试.我安装了服务器证书,虽然桌面浏览器能够通过 HTTPS 流式传输视频,但 iOS 设备(iPhone 和 iPad)都给出了 无法播放这部电影" 错误.

                  I have tested this with Mac OS X 10.6 Server. I installed the server certificate and while desktop browsers were able to stream a video over HTTPS, iOS devices (iPhone and iPad) both gave the "This movie could not be played" error.

                  安装中间证书解决了这个问题.

                  Installing the Intermediate Certificate fixed the problem.

                  其他设备,如 Android 手机和平板电脑,以及 RIM PowerBook(通过 Flash)在没有中间证书的情况下播放视频没有问题.我怀疑这是 iOS 过于关注其安全性的一个案例,如果不是错误的话,这是一个功能";-)

                  Other devices, like Android phones and tablets, and RIM PowerBook (via Flash) had no problems playing the video without the Intermediate Certificate. I suspect it is a case of iOS being overzealous with its security, a "Feature" if not a bug ;-)

                  我不是 PKI 专家,所以我无法告诉你为什么会这样.也许另一位贡献者可以解释这背后的 PKI 巫术.

                  I'm not a PKI expert, so I cannot tell you why this works. Perhaps another contributor can explain the PKI voodoo behind this.

                  这篇关于无法在 Safari 或 UIWebView 中通过 HTTPS 观看 Quicktime 电影的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Getting an NSArray of a single attribute from an NSArray(从 NSArray 获取单个属性的 NSArray)
                  ImageIO: lt;ERRORgt; JPEG Corrupt JPEG data: premature end of data segment iphone - how to catch this?(ImageIO:lt;错误gt;JPEG 损坏的 JPEG 数据:iphone 数据段过早结束 - 如何捕捉到这个?)
                  Xcode iOS organizer submit to app store yields quot;The archive is invalidquot; error(Xcode iOS 管理器提交到应用商店产生“存档无效;错误)
                  MFMessageComposeViewController alloc returns nil(MFMessageComposeViewController alloc 返回 nil)
                  Mobile Device Management with iPhone(使用 iPhone 进行移动设备管理)
                  iPhone: How to allow multiple selection in tabelview for a custom cell?(iPhone:如何允许在自定义单元格的表格视图中进行多项选择?)

                  1. <i id='hZcZG'><tr id='hZcZG'><dt id='hZcZG'><q id='hZcZG'><span id='hZcZG'><b id='hZcZG'><form id='hZcZG'><ins id='hZcZG'></ins><ul id='hZcZG'></ul><sub id='hZcZG'></sub></form><legend id='hZcZG'></legend><bdo id='hZcZG'><pre id='hZcZG'><center id='hZcZG'></center></pre></bdo></b><th id='hZcZG'></th></span></q></dt></tr></i><div id='hZcZG'><tfoot id='hZcZG'></tfoot><dl id='hZcZG'><fieldset id='hZcZG'></fieldset></dl></div>

                      <tbody id='hZcZG'></tbody>
                    <legend id='hZcZG'><style id='hZcZG'><dir id='hZcZG'><q id='hZcZG'></q></dir></style></legend>
                        <tfoot id='hZcZG'></tfoot>

                        1. <small id='hZcZG'></small><noframes id='hZcZG'>

                            <bdo id='hZcZG'></bdo><ul id='hZcZG'></ul>