Uploaded image for project: 'WildFly OpenSSL'
  1. WildFly OpenSSL
  2. WFSSL-104

Handshake failures caused by closed connections should throw SSLHandshakeException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None

      A handshake failure with WF OpenSSL is reported as follows:

      javax.net.ssl.SSLException: WFOPENSSL0031 handshake failed: underlying connection was closed
      

      The JDK throws the following instead:

      javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
      Caused by: java.io.EOFException: SSL peer shut down incorrectly
      

      For clean error handling by users, WF OpenSSL should behave consistently with the JDK

              ttarrant@redhat.com Tristan Tarrant
              ttarrant@redhat.com Tristan Tarrant
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: