面对HTTPS,使用SecureAMFChannel进行AMF的安全通信

在编译程序所使用的services-config.xml 文件中定义你的channel 为SecureAMFChannel

 <channels>
 <channel-definition id="my-amfphp" class="mx.messaging.channels.SecureAMFChannel">
 <endpoint uri="https://192.168.8.29/amfphp/gateway.php"  class="flex.messaging.endpoints.SecureAMFEndpoint"/>
 <properties>
 <add-no-cache-headers>false</add-no-cache-headers>
 <polling-enabled>false</polling-enabled>
 <serialization>
 <instantiate-types>false</instantiate-types>
 </serialization>
 </properties>
 </channel-definition>
 </channels>

原文地址:https://www.cnblogs.com/lchangelo/p/2210558.html