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

Session resumption errors

    XMLWordPrintable

    Details

      Backports

        Description

        Summary of submitter's issue:

        In a TLS session resumption scenario, the connection fails in following scenario if using JDK 7u/6u

        Server started and configured to use TLSv1 only
        Client started and sends ClientHello with TLSv1.2 request
        Server responds with ServerHello using TLSv1
        Connection succeeds and proceeds using TLSv1
        Clients sleeps
        Server restarted to use TLSv1.2 only.
        Client attempts a session resumption
        ClientHello contains TLSv1 protocol version request.
        Server now rejects this request:

        Exception in thread "main" javax.net.ssl.SSLHandshakeException: Client requested protocol TLSv1 not enabled or not supported
            at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
            at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1897)
            at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:300)
            at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:290)
            at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:506)
            at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:222)
            at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1009)
            at sun.security.ssl.Handshaker.process_record(Handshaker.java:930)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                coffeys Sean Coffey
                Reporter:
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: