Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-2309

remote+https protocol hangs when using java keystore commandline args

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • None
    • SASL, SSL
    • None
    • Hide

      I'm providing a README file that contains the steps to reproduce the error.  I've also included the zip file that contains the project for both the client application and the server EJB's.  I've been using the latest wildfly installation (i.e. wildfly-26.0.1.Final).  

      EJBTest.zipEJBTest_README.txtstandalone-full-SSL-Example.xml

      Show
      I'm providing a README file that contains the steps to reproduce the error.  I've also included the zip file that contains the project for both the client application and the server EJB's.  I've been using the latest wildfly installation (i.e. wildfly-26.0.1.Final).   EJBTest.zip EJBTest_README.txt standalone-full-SSL-Example.xml

      Attempting to use EJB's in a java client application with the "remote+https" protocol and using credential security files (i.e. both keystore and truststore) on the java command line (i.e. using the vm params to point to the files), the server never returns from the first EJB invocation until you terminate the server.  I've tried this also using the credential files referred to in the wildfly-config.xml, however when using that method I get the following error:  

      javax.net.ssl|ERROR|31|XNIO-1 I/O-1|2022-03-01 16:42:22.909 MST|TransportContext.java:362|Fatal (HANDSHAKE_FAILURE): Invalid DH ServerKeyExchange: unknown extra data (
      "throwable" : {
        javax.net.ssl.SSLHandshakeException: Invalid DH ServerKeyExchange: unknown extra data
            at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
            at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
            at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:357)
            at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:313)
            at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:304)

        1. EJBTest_README.txt
          5 kB
          michael pritt
        2. standalone-full-SSL-Example.xml
          36 kB
          michael pritt
        3. test1.txt
          22 kB
          michael pritt
        4. test2.txt
          197 kB
          michael pritt

            rhn-support-rmartinc Ricardo Martin Camarero
            michael.pritt@westringtechnologies.com michael pritt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: