Solved

Coldfusion 7 and Flex 4 and https

Posted on 2010-11-12
5
423 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
The viewer will learn how to dynamically set the form action using jQuery.
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…

919 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now