Details
-
Enhancement
-
Resolution: Fixed
-
P2
-
9
-
b30
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084982 | emb-9 | Xuelei Fan | P2 | Resolved | Fixed | team |
JDK-8156337 | 8u111 | Svetlana Nikandrova | P2 | Resolved | Fixed | b01 |
JDK-8151274 | 8u102 | Svetlana Nikandrova | P2 | Resolved | Fixed | b01 |
JDK-8162175 | emb-8u111 | Xuelei Fan | P2 | Resolved | Fixed | b01 |
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
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
- backported by
-
JDK-8084982 Need new tests for java client server communications with various TLS/SSL combinations
-
- Resolved
-
-
JDK-8151274 Need new tests for java client server communications with various TLS/SSL combinations
-
- Resolved
-
-
JDK-8156337 Need new tests for java client server communications with various TLS/SSL combinations
-
- Resolved
-
-
JDK-8162175 Need new tests for java client server communications with various TLS/SSL combinations
-
- Resolved
-