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

Need new tests for java client server communications with various TLS/SSL combinations

    Details

      Backports

        Description

        Need to add test cases for the following scenarios for client server communications.
        1)
        Client:
        protocol -- SSLv3
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        Server:
        protocal -- SSLv3
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        2)
        Client:
        protocol -- SSLv3,TLSv1,TLSv1.1,TLSv1.2
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        Server:
        protocal -- TLSv1
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        3)
        protocol -- SSLv3,TLSv1,TLSv1.1,TLSv1.2
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        Server:
        protocal -- TLSv1.1
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        4)
        Client:
        protocol -- SSLv3,TLSv1,TLSv1.1,TLSv1.2
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        Server:
        protocal -- TLSv1.2
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        5)
        Client:
        protocol -- TLSv1
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        Server:
        protocal -- SSLv3,TLSv1
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        6)
        Client:
        protocol -- TLSv1.1
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        Server:
        protocal -- SSLv3,TLSv1,TLSv1.1
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        7)
        1 client and 1 server
        Negotiation should fail as no common protocol.
        Client:
        protocol -- TLSv1.1,TLSv1.2
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        Server:
        protocal -- SSLv3
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        8)
        1 client and 1 server
        Negotiation should failed, since no common protocol.
        Client:
        protocal -- TLSv1.1,TLSv1.2
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        Server:
        protocal -- TLSv1
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        9)
        1 client and 1 server
        Client:
        protocal -- TLSv1.2
        Cipher -- SSL_RSA_WITH_RC4_128_MD5
        Server:
        protocal -- SSLv3,TLSv1,TLSv1.1,TLSv1.2
        Cipher -- SSL_RSA_WITH_RC4_128_MD5

        10)
        Client DEFAULT and server SSLv2Hello,SSLv3,TLSv1

        11)
         Client DEFAULT and server SSLv2Hello,SSLv3,TLSv1,TLSv1.1,TLSv1.2
        12)
        Client protocol is DEFAULT
        Server protocol is SSLv2Hello,SSLv3,TLSv1
        TLS Client property as TLSv1.2
        Expected exception javax.net.ssl.SSLHandshakeException

        13)
        Client protocol is DEFAULT
        Server protocol is SSLv2Hello,SSLv3,TLSv1,TLSv1.1,TLSv1.2
        TLS Client property as TLSv1

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/b1ad730c120a
          User: xuelei
          Date: 2014-09-02 05:49:35 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/b1ad730c120a User: xuelei Date: 2014-09-02 05:49:35 +0000
          Hide
          coffeys Sean Coffey added a comment -
          Could we look at getting this backported to 8u and 7u also ? thanks.
          Show
          coffeys Sean Coffey added a comment - Could we look at getting this backported to 8u and 7u also ? thanks.
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/b1ad730c120a
          User: lana
          Date: 2014-09-10 19:06:54 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/b1ad730c120a User: lana Date: 2014-09-10 19:06:54 +0000

            People

            • Assignee:
              rnairsunw Raghu Nair (Inactive)
              Reporter:
              rnairsunw Raghu Nair (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: