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

          Attachments

            Issue Links

              Activity

                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: