JDK-8298874 : Update TestAllSuites.java for TLS v1.2 and 1.3
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-12-15
  • Updated: 2024-06-05
  • Resolved: 2023-02-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 21
11.0.25-oracleFixed 17.0.10-oracleFixed 21 b09Fixed
Related Reports
Relates :  
Description
This test is very out of date. Add support for TLS versions 1.2 and 1.3.


javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
	at java.base/sun.security.ssl.HandshakeContext.<init>(HandshakeContext.java:162)
	at java.base/sun.security.ssl.ClientHandshakeContext.<init>(ClientHandshakeContext.java:103)
	at java.base/sun.security.ssl.TransportContext.kickstart(TransportContext.java:240)
	at java.base/sun.security.ssl.SSLEngineImpl.writeRecord(SSLEngineImpl.java:185)
	at java.base/sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:146)
	at java.base/sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:123)
	at java.base/javax.net.ssl.SSLEngine.wrap(SSLEngine.java:524)
	at TestAllSuites.runTest(TestAllSuites.java:153)
	at TestAllSuites.test(TestAllSuites.java:99)
	at TestAllSuites.main(TestAllSuites.java:251)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
	at java.base/java.lang.Thread.run(Thread.java:1623)
Comments
Fix request [17u] I backport this for parity with 17.0.10-oracle. No risk, only a test change. Clean backport. Test passes. SAP nighlty testing passed.
05-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/1830 Date: 2023-10-04 12:06:37 +0000
04-10-2023

Changeset: 3361a26d Author: Matthew Donovan <matthew.p.donovan@oracle.com> Committer: Rajan Halade <rhalade@openjdk.org> Date: 2023-02-01 17:20:24 +0000 URL: https://git.openjdk.org/jdk/commit/3361a26df4dafa134181263cc5c81bda6ba8d21e
01-02-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/11780 Date: 2022-12-23 17:08:03 +0000
23-12-2022