`
董瑞龙
  • 浏览: 105459 次
  • 性别: Icon_minigender_1
  • 来自: 青岛
社区版块
存档分类
最新评论

flex.messaging.security.SecurityException: Secure endpoint '/messagebroker/amfse

    博客分类:
  • flex
阅读更多
flex.messaging.security.SecurityException: Secure endpoint '/messagebroker/amfsecure' must be contacted via a secure protocol
报错

经过排查需要更改如下配置:services-config.xml
<channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
            <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
            <properties>
                <add-no-cache-headers>false</add-no-cache-headers>
            </properties>
        </channel-definition>
改为
<channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
            <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.AMFEndpoint"/>
            <properties>
                <add-no-cache-headers>false</add-no-cache-headers>
            </properties>
        </channel-definition>

参考链接:
http://blogs.adobe.com/kmossman/2010/02/lcds_with_ssl_termination_with.html
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics