Recently I've deployed a Flex/J2EE application in SSL environment and I have trouble getting it to work,
It works great on HTTP with no issues at all, but in an secure environment all i get is this error. flex.messaging.security.SecurityException: Secure endpoint '/messagebroker/amfsecure' must be contacted via a secure protocol My Flex app is inside a JSP wrapper... I've made changes into services-config.xml to add only my-secure-amf as the only channel, and also in the destination tag in remoting-config.xml. I've also compiled the flex app with the changes and deployed all the files (swf, configs on App server) my deployment environment looks like this.. request---> [Load-Balancer]-->[Web-Server]--->[Java Application Server] the load-balancer is where the SSL terminates, as it's the front-stop for all the requests coming in from external world. i've tried using only AMFChannel, but it didnt work out either. any thoughts?

