Skip to main content
Inspiring
July 29, 2010
Question

Why does CFFileupload Fail Under SSL?

  • July 29, 2010
  • 1 reply
  • 899 views

Note: I first posted this question to ColdFusionJedi but Ray didn't really have any guesses.

The problem is that I have some test code that works fine on my server on a non-ssl domain, but fails (on the same server) under a SSL domain. Using Charles to sniff the traffic, it seems that Apache immediately refuses the request coming from the flash app when I try to upload.

Charles says: "sslhandshake: remote host closed connection during handshake"

Any suggestions on what the issue may be or how to best solve this problem?

Thanks!!! Very Frustrated at the moment.

    This topic has been closed for replies.

    1 reply

    Participant
    October 19, 2011

    For me the Upload Flash component can't be used in a CF page reached on port 443 because when it post the file to the web server the Flash component use port 80 !

    If your URL CF page is https://mydomain.com/something/MyCFpageWichContainsCFFILEUPLOAD.cfm

    The upload action in the Flash form tries to access

    http://mydomain.com/something/MyCFpageWichContainsCFFILEUPLOAD.cfm

    So if port 80 for this particular page is not open, it failed.