Solved

Coldfusion 7 and Flex 4 and https

Posted on 2010-11-12
5
425 Views
Last Modified: 2012-05-10
Hello
i have a flex 4 app that is connecting to a cf 7 server using RemoteObject, all worked fine on dev then when we moved to prod we started to get problems like

The page must be viewed over a secure channel</h1>
The page you are trying to access is secured with Secure Sockets Layer (SSL).
...
Type https:// at the beginning of the address you are attempting to reach and press ENTER.

obvious the server is not open to connections that are not secure
does anyone know how to fix this , please note that i am using cf 7

i have seen this  article
http://blog.crankybit.com/flex-remoting-over-ssl/
which is good but is for cf8
0
Comment
Question by:jockmahon01
  • 2
5 Comments
 
LVL 28

Accepted Solution

by:
Pravin Asar earned 500 total points
ID: 34435453
Look at the flex remoting config files [generally located in WEB_INF\flex directory.

It is a while, I migrated from CF7 to CF8/9.

If I recall correctly the

In the remoting-config.xml


<!-- On HTTPS (SSL) Sites, list the secure channel first -->
<default-channels>
            <channel ref="my-cfamf"/>
            <channel ref="my-cfamf-secure"/>
</default-channels>

<!-- On HTTPS (SSL) Sites, list the secure channel first  CF Specific -->


    <destination id="ColdFusion">
        <channels>
            <channel ref="my-cfamf"/>
            <channel ref="my-cfamf-secure"/>
        </channels>

Also check the services-config.xml

0
 
LVL 28

Expert Comment

by:Pravin Asar
ID: 34435475
Also in your flex application, for the web-services/remoting call check the attribute

source="{serverURL}"

for resolving the endPoint for the Remoting Call.
0
 

Author Closing Comment

by:jockmahon01
ID: 34542604
b
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question