Solved

Coldfusion 7 and Flex 4 and https

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Imagine a situation that you have installed SSL (http://en.wikipedia.org/wiki/Secure_Sockets_Layer) Certificate on your Cisco ASA (Cisco Adaptive Security Appliance) firewall. Installation of SSL certificate on ASA is an another topic for which you …
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.
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…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

760 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

23 Experts available now in Live!

Get 1:1 Help Now