RFR: 8353738: Update TLS unit tests to not use certificates with MD5 signatures
Artur Barashev
abarashev at openjdk.org
Tue Oct 28 13:57:48 UTC 2025
On Wed, 17 Sep 2025 11:50:51 GMT, Matthew Donovan <mdonovan at openjdk.org> wrote:
> This PR updates tests that were using MD5 certificates. For most of the tests, I added test cases for TLSv1.2/MD5withRSA and TLSv1.3/SHA256withRSA.
test/jdk/sun/net/www/protocol/https/HttpsURLConnection/IdentitiesBase.java line 100:
> 98: getServerDname(),
> 99: serverKeys.getPublic(), caKeys.getPublic(),
> 100: CertificateBuilder.KeyUsage.DIGITAL_SIGNATURE, CertificateBuilder.KeyUsage.NONREPUDIATION, CertificateBuilder.KeyUsage.KEY_ENCIPHERMENT)
Line length > 80 here and below.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27342#discussion_r2469675945
More information about the net-dev
mailing list