RFR: JDK-8320372: test/jdk/sun/security/x509/DNSName/LeadingPeriod.java validity check failed

Sean Mullan mullan at openjdk.org
Mon Nov 20 16:52:05 UTC 2023

Set the validity date to the notBefore date of the EE certs so that validation won't fail when the certs expire - there is only one cert in the path so this should be sufficient. I also removed the trust anchor from the CertPath as it isn't necessary to include that in the path.

Not sure if it is really necessary to complete before I integrate, but Mach5 in progress.


Commit messages:
 - Set validity date so that validation won't fail when cert expires

Changes: https://git.openjdk.org/jdk/pull/16744/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16744&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8320372
  Stats: 11 lines in 1 file changed: 0 ins; 1 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/16744.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16744/head:pull/16744

PR: https://git.openjdk.org/jdk/pull/16744

More information about the security-dev mailing list