SWFUpload https IO Error: #2038

最近在开发后台的时候用到了swfupload做文件上传,以前用一直都没问题,但是现在在HTTPS下就一直出现HTTPS错误,查了一下据说Flash的SSL验证用的居然是IE的验证程序。

。。。 真是郁闷啊,只要把ca.crt导入到IE的 受信任的根证书发布者 里就行了,什么FF2 FF3 全都没问题了就。。。

TMD。。。FF里的FLASH居然也走IE的SSL验证。。。这让我抓了半天脑袋。。

参考
地址:http://swfupload.org/forum/generaldiscussion/347
原文:

puika Says:
October 30, 2008 – 3:11am

I think Flash under Windows uses certificate authorities that are trusted by IE (Windows).
If you have you own CA or using certificate signed by CACert.org, you need to import this CA certificate in IE as “Trusted Root Certification Authority”. OK – i know that this is a problem for public servers to tell clients do this.
But if you have corporate network there should be no problem to do this automatically.
One more reason to push OS and browser developers to add CACert.org to trusted root authorities.

Hope this helps somebody:)

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.

Read: 2317

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注