1. HTTPS configuration is not described here.
2. HTTPS is a secure authentication protocol, so secureamfchannel must be used. That is
<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>
3. Open the secureamfchannel in the remoting-config.xml and proxy-config.xml files.
<Default-channels>
<Channel ref = "My-AMF"/>
<Channel ref = "My-secure-AMF"/>
</Default-channels>
4. In principle, this configuration is fine. However, in practice, it is found that authentication is not easy to use. Therefore, in order to successfully run in the authentication environment, when compiling flex in the authentication environment, disable the common channel first. Modify the configuration file in step 3 as follows and then edit it:
<Default-channels>
<! -- <Channel ref = "My-AMF"/> -->
<Channel ref = "My-secure-AMF"/>
</Default-channels>
5. Flex project configuration. Project properties-> flex server: Root URL-> https: // localhost :( authentication port )/...