Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8367059

DTLS: loss of NewSessionTicket message results in handshake failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 13, 26
    • security-libs
    • None

      Spotted while reviewing https://github.com/openjdk/jdk/pull/27093.

      If the NewSessionTicket message is lost, the handshake fails on the client side with:
      javax.net.ssl.SSLHandshakeException: (decrypt_error) The Finished message cannot be verified.

      To reproduce, add the following run line to the PacketLossRetransmission jtreg test:
      @run main/othervm PacketLossRetransmission server 4 new_session_ticket

      Workaround: avoid sending the NewSessionTicket message by disabling stateless session resumption

            abarashev Artur Barashev
            djelinski Daniel Jelinski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: