13 Replies Latest reply on Mar 27, 2014 3:36 AM by Guglielmo Moretti

    Wildfly Undertow SSL performance issue

    Guglielmo Moretti Newbie



      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">
                     <keystore path="localhost.keystore" relative-to="jboss.server.config.dir" keystore-password="xxxxxxx"/>


      <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"/>


      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?