How to use SecureAMFChannel?

Avatar

Avatar
Level 1
freeair
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
freeair
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
freeair
Level 1

12-05-2008

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

Replies

Avatar

Avatar
Affirm 1
Level 2
atta707
Level 2

Likes

0 likes

Total Posts

30 posts

Correct reply

2 solutions
Top badges earned
Affirm 1
View profile

Avatar
Affirm 1
Level 2
atta707
Level 2

Likes

0 likes

Total Posts

30 posts

Correct reply

2 solutions
Top badges earned
Affirm 1
View profile
atta707
Level 2

12-05-2008

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

Avatar

Avatar
Level 1
freeair
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
freeair
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
freeair
Level 1

13-05-2008

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

Avatar
Affirm 1
Level 2
atta707
Level 2

Likes

0 likes

Total Posts

30 posts

Correct reply

2 solutions
Top badges earned
Affirm 1
View profile

Avatar
Affirm 1
Level 2
atta707
Level 2

Likes

0 likes

Total Posts

30 posts

Correct reply

2 solutions
Top badges earned
Affirm 1
View profile
atta707
Level 2

13-05-2008

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



Avatar

Avatar
Level 1
freeair
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
freeair
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
freeair
Level 1

14-05-2008

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

Avatar

Avatar
Boost 1
Level 2
Michael_Borbor
Level 2

Likes

2 likes

Total Posts

93 posts

Correct reply

3 solutions
Top badges earned
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 1
Level 2
Michael_Borbor
Level 2

Likes

2 likes

Total Posts

93 posts

Correct reply

3 solutions
Top badges earned
Boost 1
Affirm 3
Affirm 1
View profile
Michael_Borbor
Level 2

15-05-2008

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

Avatar

Avatar
Boost 1
Level 2
Michael_Borbor
Level 2

Likes

2 likes

Total Posts

93 posts

Correct reply

3 solutions
Top badges earned
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 1
Level 2
Michael_Borbor
Level 2

Likes

2 likes

Total Posts

93 posts

Correct reply

3 solutions
Top badges earned
Boost 1
Affirm 3
Affirm 1
View profile
Michael_Borbor
Level 2

15-05-2008

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