Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

How to use SecureAMFChannel?

Avatar

Level 1
Hello everyone,

While reading
Adobe® LiveCycle® Data Services ES Developer’s
Guide
, I use
RemoteObject component and the predefined
ColdFusion destination in the Remoting-config.xml file
distributed with ColdFusion 8 integrated LiveCycle Data Services ES
to write the simplest code to test how the channels work.

When I specify
AMFChannel for the channel reference in the ColdFusion
destination, everything goes well, but if I only change it from
AMFChannel to
SecureAMFChannel, the following error always occurs,


Channel.Security.Error error Error #2048:security sandbox
conflict:
http://localhost:8500/.../*.swf
can’t load data from
https://localhost:8500/flex2gateway/cfamfsecure. url:’
https://localhost:8500/flex2gateway/cfamfsecure’.


I think there must be something I missed.



Any advice will be appreciated!

Alice
6 Replies

Avatar

Level 2
Try loading your main SWF file -- or the HTML file that
contains it -- that uses SecureAMFChannel over https instead of
http.

Avatar

Level 1
Hi atta707,

Thank you for your response. How to load the HTML wrapper to
use https instead of http? Everytime I test it in Flex Builder, the
protocol in the browser address bar always disyplays http.

Avatar

Level 2
for a quick try, in your browser address bar just add an s
after http and hit enter.



Avatar

Level 1
I had tried to directly use https, but I always get the
information that the page can't access.

Avatar

Level 3
Well you first need to set up your web server to use
https.

Avatar

Level 3
Well you first need to set up your web server to use
https.