1 Reply Latest reply on Jan 24, 2013 10:58 PM by SmileFlex

    SSL configuration in Flex

    SmileFlex

      We recently implemented SSL on our application for which we changed the connector port in server.xml of tomcat to

       

      <Connector protocol="HTTP/1.1" SSLEnabled="true" acceptCount="100" clientAuth="false" disableUploadTimeout="true" enableLookups="false" maxThreads="25"
      port="8443" keystoreFile="C:\Users\user_name\.keystore" keystorePass="****"
      scheme="https" secure="true" sslProtocol="TLS"/>

       

      After this implementation the Tools are working fine, but we have a security vulnerability issue on this and the resolution we got is to use NIO connector instead of HTTP/1.1.So we changed the connector in server.xml as

       

      <Connector protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="true" acceptCount="100" clientAuth="false" disableUploadTimeout="true" enableLookups="false" maxThreads="25"
      port="8443" keystoreFile="C:\Users\user_name\.keystore" keystorePass="****"
      scheme="https" secure="true" sslProtocol="TLS"/>

       

      After changing this, we are getting errors in the Flash builder: 

      An internal build error has occurred. See the error log for more information. Location is unknown and type is Flex Problem

       

      The application is hanged with blue screen.

      Can anyone help us with this?

        • 1. Re: SSL configuration in Flex
          SmileFlex Level 1

          with some additional attributes added on to server.xml <Connector /> tag application is loading fine in local environment.

           

          <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" bufferSize="64000" maxHttpHeaderSize="64000"  socket.appWriteBufSize="64000" socket.appReadBufSize="64000" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="C:\Users\user_name\.keystore" keystorePass="*****" allowTrace="false"/>

           

          But the same changes are not working in UAT environment, any clue on it will help me.

          thanks in advance.