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

How to use SecureAMFChannel?

freeair
Level 1
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
atta707
Level 2
Level 2
Try loading your main SWF file -- or the HTML file that
contains it -- that uses SecureAMFChannel over https instead of
http.
freeair
Level 1
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.

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



freeair
Level 1
Level 1
I had tried to directly use https, but I always get the
information that the page can't access.
Michael_Borbor
Level 3
Level 3
Well you first need to set up your web server to use
https.
Michael_Borbor
Level 3
Level 3
Well you first need to set up your web server to use
https.