Commit Graph

65 Commits

Author SHA1 Message Date
John Jiang
5fc5cb9f25 8243549: sun/security/ssl/CipherSuite/NamedGroupsWithCipherSuite.java failed with Unsupported signature algorithm: DSA
Reviewed-by: xuelei
2020-04-25 05:17:26 +08:00
John Jiang
2a4596cfe4 8243029: Rewrite javax/net/ssl/compatibility/Compatibility.java with a flexible interop test framework
Reviewed-by: xuelei
2020-04-24 15:28:57 +08:00
Anthony Scarpino
ed18906c08 8242008: SSLSession inconsistencies
Reviewed-by: jnimeh, xuelei
2020-04-15 13:50:41 -07:00
Jamil Nimeh
6b7a466f74 8242294: JSSE Client does not throw SSLException when an alert occurs during handshaking
Reviewed-by: xuelei
2020-04-08 00:03:56 -07:00
John Jiang
60fae77974 8237977: Further update javax/net/ssl/compatibility/Compatibility.java
Reviewed-by: rhalade
2020-03-26 07:09:36 +08:00
Xue-Lei Andrew Fan
89448a83d9 8233619: SSLEngine handshake status immediately after the handshake can be NOT_HANDSHAKING rather than FINISHED with TLSv1.3
Reviewed-by: jnimeh
2020-03-03 15:57:01 -08:00
Sibabrata Sahoo
fca342f736 8235874: The ordering of Cipher Suites is not maintained provided through jdk.tls.client.cipherSuites and jdk.tls.server.cipherSuites system property
Corrected Cipher Suites ordering through system properties

Reviewed-by: xuelei
2019-12-16 00:23:50 -08:00
John Jiang
abac8b17a9 8235813: System property fullCipherSuites is not used by javax/net/ssl/compatibility/Compatibility.java
Reviewed-by: xuelei
2019-12-16 16:19:10 +08:00
Sibabrata Sahoo
58cce5fbf4 8234728: Some security tests should support TLSv1.3
Tests were updated to support TLSv1.3 and cipher suite order

Reviewed-by: xuelei
2019-12-13 01:43:14 -08:00
John Jiang
c2f68eacaa 8231810: javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java fails intermittently with "java.lang.Exception: Unexpected EOF"
Reviewed-by: xuelei
2019-12-11 11:29:03 +08:00
Rajan Halade
5fc46f3c50 8190492: Remove SSLv2Hello and SSLv3 from default enabled TLS protocols
Reviewed-by: mullan, wetmore, xuelei
2019-12-09 21:38:12 -08:00
Sibabrata Sahoo
b03ba9e300 8234723: javax/net/ssl/TLS tests support TLSv1.3
Missing TLSv1.3 test cases

Reviewed-by: xuelei
2019-11-28 22:29:07 -08:00
John Jiang
ec16834845 8234724: javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java supports TLSv1.3
Reviewed-by: xuelei
2019-11-29 14:07:16 +08:00
John Jiang
655cf14138 8228967: Trust/Key store and SSL context utilities for tests
Reviewed-by: xuelei
2019-09-05 14:55:21 +08:00
Daniel Fuchs
f71db3074c 8230435: Replace wildcard address with loopback or local host in tests - part 22
Fixes tests to use the loopback address whenever possible. It also fixes some safe publishing issues, or add diagnostics in some of the tests.

Reviewed-by: michaelm
2019-09-04 18:10:07 +01:00
Jaikiran Pai
178bf44f56 8226976: SessionTimeOutTests uses == operator for String value check
Use String.equals() instead of == operator

Reviewed-by: xuelei
2019-07-02 11:07:40 +05:30
John Jiang
df6fbdb2af 8224650: Add tests to support X25519 and X448 in TLS
Reviewed-by: xuelei
2019-06-28 05:29:54 +08:00
Xue-Lei Andrew Fan
a4277e56c8 8224829: AsyncSSLSocketClose.java has timing issue
Reviewed-by: jnimeh, dfuchs
2019-06-14 12:19:14 -07:00
Bradford Wetmore
118fd65d44 8171279: Support X25519 and X448 in TLS
Reviewed-by: xuelei, mullan
2019-06-12 18:58:00 -07:00
Anthony Scarpino
94e1d7530f 8211018: Session Resumption without Server-Side State
Reviewed-by: xuelei, jnimeh, jjiang
2019-06-11 16:31:37 -07:00
Xue-Lei Andrew Fan
7aec6727ac 8221253: TLSv1.3 may generate TLSInnerPlainText longer than 2^14+1 bytes
Reviewed-by: jnimeh
2019-05-10 12:33:40 -07:00
John Jiang
04bb71a004 8222391: javax/net/ssl/compatibility/Compatibility.java should be more flexible
Reviewed-by: xuelei
2019-04-23 10:08:52 +08:00
Xue-Lei Andrew Fan
eb59ebb177 8216326: SSLSocket stream close() does not close the associated socket
Reviewed-by: jnimeh
2019-04-16 16:59:09 -07:00
Xue-Lei Andrew Fan
d812742d68 8163326: Update the default enabled cipher suites preference
Reviewed-by: mullan
2019-04-04 14:19:29 -07:00
Xue-Lei Andrew Fan
25f0d60a58 8215430: Remove the internal package com.sun.net.ssl
Reviewed-by: chegar, mullan, wetmore
2019-03-01 08:35:14 -08:00
John Jiang
06befcd14a 8219723: javax/net/ssl/compatibility/Compatibility.java failed on some SNI cases
Re-generates RSA and ECDSA certificates and set longer validity period

Reviewed-by: xuelei
2019-02-28 13:37:03 +08:00
Xue-Lei Andrew Fan
1d7db01371 8219389: Delegated task created by SSLEngine throws BufferUnderflowException
Reviewed-by: ascarpino
2019-02-20 10:20:48 -08:00
Anthony Scarpino
5a97e73e5a 8215790: Delegated task created by SSLEngine throws java.nio.BufferUnderflowException
Reviewed-by: jnimeh
2019-02-12 14:08:07 -08:00
Jesper Wilhelmsson
b2d0be746a Merge 2019-02-02 00:11:54 +01:00
Sean Mullan
f5a411ea53 8217579: TLS_EMPTY_RENEGOTIATION_INFO_SCSV is disabled after 8211883
Reviewed-by: jnimeh, clanger
2019-01-30 15:42:47 -05:00
Sean Mullan
95b848fa61 8217579: TLS_EMPTY_RENEGOTIATION_INFO_SCSV is disabled after 8211883
Reviewed-by: jnimeh, clanger
2019-01-29 10:24:38 -05:00
Jesper Wilhelmsson
5622c425c1 Merge 2019-01-18 23:07:48 +01:00
John Jiang
365de9f2bc 8203687: javax/net/ssl/compatibility/Compatibility.java supports TLS 1.3
Reviewed-by: xuelei
2019-01-18 14:25:34 +08:00
Goetz Lindenmaier
084f0b75bd 8216265: [testbug] Introduce Platform.sharedLibraryPathVariableName() and adapt all tests
Also cleanup some switches over OSes and use File.pathSeparator.

Reviewed-by: dholmes, mdoerr
2019-01-14 00:00:00 +01:00
Xue-Lei Andrew Fan
3933c8477b 8214339: SSLSocketImpl erroneously wraps SocketException
Reviewed-by: ascarpino, jnimeh
2018-12-14 19:39:39 -08:00
Sibabrata Sahoo
bf9fb45c85 8211787: javax/net/ssl/TLSCommon/TLSTest.java throws java.net.SocketTimeoutException: Read timed out
Java.net.SocketTimeoutException: Read timed out

Reviewed-by: xuelei
2018-11-14 23:12:19 -08:00
Xue-Lei Andrew Fan
3e9941ea2b 8212261: Add SSLSession accessors to HttpsURLConnection and SecureCacheResponse
Reviewed-by: mullan, chegar
2018-11-09 08:24:38 -08:00
Sean Mullan
7727e4ca2f 8211883: Disable anon and NULL cipher suites
Reviewed-by: jnimeh
2018-10-25 13:55:28 -04:00
Jamil Nimeh
137e3161c4 8211806: TLS 1.3 handshake server name indication is missing on a session resume
Reviewed-by: xuelei, wetmore
2018-10-19 18:05:50 -07:00
John Jiang
75489d717e 8210632: Add key exchange algorithm to javax/net/ssl/TLSCommon/CipherSuite.java
Javax/net/ssl/TLSCommon/CipherSuite.java supports key exchange algorithms

Reviewed-by: xuelei
2018-10-18 07:56:55 +08:00
John Jiang
4fe2edae59 8211978: Move testlibrary/jdk/testlibrary/SimpleSSLContext.java and testkeys to network testlibrary
Move SimpleSSLContext.java and testkeys to test/lib/jdk/test/lib/net

Reviewed-by: chegar
2018-10-15 22:47:03 +08:00
Jamil Nimeh
fa1ced20b5 8210918: Add test to exercise server-side client hello processing
Reviewed-by: xuelei
2018-09-24 00:13:02 -07:00
Jamil Nimeh
962e755c3a 8140466: ChaCha20 and Poly1305 TLS Cipher Suites
Reviewed-by: xuelei, mullan
2018-09-17 15:25:42 -07:00
John Jiang
1f3d71b620 8209362: sun/security/ssl/SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use (Bind failed)"
Refactor this test with SSLSocketTemplate

Reviewed-by: xuelei
2018-08-31 10:32:47 +08:00
Jesper Wilhelmsson
d40735db17 Merge 2018-08-29 19:48:28 +02:00
Bradford Wetmore
5b511a4a78 8207317: SSLEngine negotiation fail exception behavior changed from fail-fast to fail-lazy
Reviewed-by: xuelei
2018-08-21 11:30:48 -07:00
Xue-Lei Andrew Fan
66e8f27bd8 8207009: TLS 1.3 half-close and synchronization issues
Reviewed-by: jnimeh, mullan, wetmore
2018-08-14 16:47:56 -07:00
Sibabrata Sahoo
e64ad29e8a 8208496: New Test to verify concurrent behavior of TLS
Verify TLS behavior with multiple threads accessing concurrently.

Reviewed-by: xuelei
2018-08-06 00:46:40 -07:00
Xue-Lei Andrew Fan
611c53c860 8207009: TLS 1.3 half-close and synchronization issues
Reviewed-by: jnimeh, mullan, wetmore
2018-08-14 18:16:47 -07:00
Mikael Vidstedt
83a51d869e Merge 2018-08-09 10:08:07 -07:00