RFR: 8282511: Use fixed certificate validation date in SSLExampleCert template [v2]

Rajan Halade rhalade at openjdk.java.net
Tue Mar 1 23:29:05 UTC 2022


On Tue, 1 Mar 2022 23:23:53 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

>> May I have this test update reviewed?
>> 
>> The certificates used in SSL testing template SSLExampleCert could expired in the future (for example [JDK-8282398](https://bugs.openjdk.java.net/browse/JDK-8282398)).  It is not always easy to replace the certificates if the template has been used a lot.
>> 
>> This update is trying to use a fixed validation date, so that even the certificates are expired the test will continue to work with no surprises.
>> 
>> I also did a few code clean up in this patch.
>
> Xue-Lei Andrew Fan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Chaneg to use DateFormat

test/jdk/javax/net/ssl/ServerName/EndingDotHostname.java line 26:

> 24: /**
> 25:  * @test
> 26:  * @bug 8806542

Missed to note earlier. 8806542 is not a valid bug number. It was updated to 8065422 so this change is not needed.

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

PR: https://git.openjdk.java.net/jdk/pull/7651



More information about the security-dev mailing list