Rails https uploadify 上传文件时报 IO Error

kehao · April 11, 2012 · Last by kehao replied at August 24, 2012 · 11532 hits

swfuploadoc 里写道:

SSL

有一些报告指出,Flash 播放器不能通过 SSL 协议上传。此问题还没有确认,但是绕过 SSL 上传的文件可能是不可靠的。尤其要注意的是,使用自行签约的 SSL 证书可能存在问题。

另外,由于 Flash 没有提供用于接受 SSL 证书的方法,那么从不被信任的认证机构获取的 SSL 证书将无效。我们已经注意到此问题,就像 cookie bug 一样,Windows 平台上的 Flash 可以通过互联网浏览器来获取被信任的 CA。

现在的状况也和上面说的一样,nginx 双向认证,证书是自签发的,ie 下可以使用 uploadify 上传文件,但是 FF 和 chrome 报 ioerror.网上又瞎找了些解决方法

Linux 下的解决办法:
kriner Says: 
September 30, 2009 - 9:45am
Flashplayer does'nt read the firefox certificates store, but the default CA certificates store located in the /etc/ssl/certs/ directory.
You can add your own CA certificate with the following shell command:
update-ca-certificates
Exemple (for Debian or Ubuntu users):
(obviously, you need to be root)
your organization is named 'myorg' and your CA certificate 'myorgCA.crt'
Create 'myorg' directory under /usr/share/ca-certificates
Copy your CA certificate in the new created directory
Edit /etc/ca-certificates.conf and add the following two lines (first line is for comemnt):
# My organization CA
myorg/myorgCA.crt
Then run:
update-ca-certificates -v
That's all.
Now it works with firefox.


上面的方法没有效果,有没有人起效果过? 后来又搜到 (比较老了) http://www.uploadify.com/forums/discussion/6650

请问这真是证书可信度的问题么?另外有没有方法可以解决自签发的证书也能使用 uploadify?? 谢谢

么有人遇到相似的问题么?

求解~

刚遇到此类问题,无解,偶尔性的。LZ 解决了么?@kehao

#3 楼 @NanZhang 最后上传文件还是用了 http

You need to Sign in before reply, if you don't have an account, please Sign up first.