I've got my solution all working, but I just found out that uploading over SSL throws the SWFUpload. At the moment it only works on IE. When I upload using FF or Opera no request arrives at the server. I'm using a self signed and a test certificate.
Does anyone have a solution?
February 20, 2008 - 6:46pm
I turned the debgging messages on and it seems to be an IO error.
February 20, 2008 - 8:12pm
It appears Flash does not support self signed certs. There are a few posts here discussing the issue. I've heard you can add the cert to the browser and that it will work but I have not personally done anything with SSL.
I have tested SWFUpload over SSL in FireFox 2 and IE 6 (WinXP) with a regular purchased certificate and everything seemed to work fine.
February 22, 2008 - 5:41am
You are right. I got a proper certificate on a proper server and it all seems to work. It's a big relief for me. Thanks again for the great work
April 27, 2008 - 10:08pm
Is there any way to tell Flash to be cool about self-signed certs? I'd be curious as to what Adobe/Mozilla.org might have to say about this. It seems like one of those things that should be an option that can be configured without needing to import the certificate.
April 28, 2008 - 9:41pm
Hi,
Just a note: Uploading via https does not work even if you import said self-signed certificate into FF2.
May 30, 2008 - 3:27am
Hi,
With self signed certificate+basic authentication, beta 2.1.0 works fine with IE6 and IE7.
I upgraded to 2.1.0 final and it doesn't work anymore with IE7.
Did someone else notice that ?
August 25, 2008 - 2:02pm
I am running SWFUpload 2.1.0 and a slightly modified version of the "simpledemo" that actually saves the files on the server. The demo works fine in all major browsers over HTTP. It also works fine over HTTPS on all browsers except Firefox. To be more specific, file uploads fail in FireFox 2.0 over HTTPS.
The error message that I am getting in the debug console in Firefox is "Error Code: IO Error, File name: Butterflies_n_Birdpoo.jpg, Message: Error #2038".
I am not using a self-signed SSL cert, it is signed by CACert.org (not a trusted authority). I am in the process of purchasing a certificate from a trusted authority just for my development server so I can eliminate this as a possible cause for the failure.
If anyone has any information or advice on why file uploads are failing in Firefox over HTTPS, I would be much obliged.
Thanks.
August 25, 2008 - 6:36pm
NOTE: This is a response to my own post above.
Certificates signed by CACert.org don't work in Firefox. Once I upgraded to a paid cert from a trusted authority, it worked fine in all browsers (FF 2.0, FF 3.0, IE 6.0, IE 7.0, Safari 2.0, Safari 3.1).
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:)
October 30, 2008 - 9:46am
@puika: Your evaluation makes sense. Flash also uses IE's cookies even when in another browser.
I will add the tidbit to the SWFUpload documentation. It does not appear to have been fixed in Flash Player 10
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.