Updated these two tests to generate and use certificates. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
------------- Commit messages: - 8384815: SelectOneKeyOutOfMany and SelectOneKeyOutOfMany fail after expired test certificate Changes: https://git.openjdk.org/jdk/pull/31186/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31186&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8384815 Stats: 339 lines in 2 files changed: 108 ins; 158 del; 73 mod Patch: https://git.openjdk.org/jdk/pull/31186.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31186/head:pull/31186 PR: https://git.openjdk.org/jdk/pull/31186
