Solved

Coldfusion 7 and Flex 4 and https

Posted on 2010-11-12
5
429 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 29

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 29

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

726 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