13 Replies Latest reply on Mar 27, 2014 3:36 AM by guglielmo.moretti

    Wildfly Undertow SSL performance issue

    guglielmo.moretti

      Hello,

       

      I'm setting-up a wildfly (8.0.0.FINAL) instance in my dev enviroment.

      I'm using a self signed SSL certificate (RSA 2048 key lenght). My configuration is the following:

       

      <security-realm name="UndertowRealm">
           <server-identities>
                <ssl>
                     <keystore path="localhost.keystore" relative-to="jboss.server.config.dir" keystore-password="xxxxxxx"/>
                </ssl>
           </server-identities>
      </security-realm>
      

       

      <server name="default-server">
           <http-listener name="default" socket-binding="http"/>
           <https-listener name="https" socket-binding="https" security-realm="UndertowRealm"/>
           <host name="default-host" alias="localhost">
                <location name="/" handler="welcome-content"/>
                <filter-ref name="server-header"/>
                <filter-ref name="x-powered-by-header"/>
           </host>
      </server>
      

       

      I've a SOAP WebService there and if I try to wget my wsdl (from a different client) it takes almost 4 seconds (actually the file is only 15KB)

      In the previous dev enviroment with JBoss AS 7.2.0 with the same certificate it tooks almost nothing in time.

       

      The only difference I see is that my previous enviroment was using Tomcat Native with JBoss while in Undertow from what I know, it is not possible.

       

      Is it true?

      Why do I get this difference?

       

       

      Regards

      Guglielmo