Securing Cairngorm services for AMFPHP

Just a really short post about making your Flex website work over HTTPS. Putting your Flex Cairngorm project on SSL is too easy. In services-config.xml, simply replace AMFChannel and AMFEndpoint with SecureAMFChannel & SecureAMFEndpoint.

Example:

<channels>
<channel-definition id="cf-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
<endpoint uri="https://www.mydomain.com/services/amfphp" class="flex.messaging.endpoints.SecureAMFEndpoint" />
</channel-definition>
</channels>

A golden rule is not to mix http & https communication to avoid warnings of any kind.

Also check out the documentation about channel definition.

This entry was posted in Cairngorm. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*