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?
IO Error
I turned the debgging messages on and it seems to be an IO error.
It appears Flash does not
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.
Don't bother testing with self signed certificate
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
Is there any way?
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.
Importing Self-Signed Certs
Hi,
Just a note: Uploading via https does not work even if you import said self-signed certificate into FF2.
Problem with IE7 and 2.1.0 final ?
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 ?
Latest Status on HTTPS?
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.
Update
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).
small workaround
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:)
Makes sense
@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