0 Replies Latest reply on Aug 26, 2012 7:19 AM by milesw2012

    Stuck on getting iPhone secure channel to work


      I have created a simple 'hello world' flex mobile project to go on an iphone.  There is also a server created using grails and I am using Blazeds to communicate between the two.  I wanted the communication between them to be secure, so I wanted to use a secure channel.  So I have the following channel definition:


      <channel-definition id='my-secure-amf' class='mx.messaging.channels.SecureAMFChannel'>

           <endpoint url='https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure'







      and an equivalent CallResponder and service created via the Flash Builder Data/Services wizard.  When I run the flex project on the iphone simulator on the desktop everything works fine, but when I package it into an app and run it on my iphone i get the following error message:


      Send failed

      Channel.Connect.Failed error

      NetConnection.Call.Failed: HTTP:

      Failed: url: 'https://www.example.com/messagebroker/amfsecure'


      (I have changed the website address, but it does work on the simulator and I also have an ordinary flex project which runs fine against the website address.)


      Please can anybody help, as I have run out of ideas.


      Thanks in advance.