On Mon, 23 Nov 2026 07:52:59 GMT, Daniel Jeliński <[email protected]> wrote:

>> Hai-May Chao has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Change tlsProfile value ordering
>
> test/micro/org/openjdk/bench/java/security/TestCertificates.java line 202:
> 
>> 200:                 Key key = getPrivKey("EC", 
>> controlledEcdsaP256ServerKey);
>> 201:                 result.setKeyEntry("server", key, new char[0],
>> 202:                         new Certificate[] {serverCert, caCert});
> 
> Please drop the caCert. It's a bad practice to include the root CA in the 
> server certificate chain.

Fixed.

> test/micro/org/openjdk/bench/java/security/TestCertificates.java line 210:
> 
>> 208:                 Key key = getPrivKey("ML-DSA", 
>> controlledMldsa65ServerKey);
>> 209:                 result.setKeyEntry("server", key, new char[0],
>> 210:                         new Certificate[] {serverCert, caCert});
> 
> Same here.

Fixed.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/33111#discussion_r4702183648
PR Review Comment: https://git.openjdk.org/jdk/pull/33111#discussion_r4702184175

Reply via email to