diff --git a/test/jdk/sun/security/tools/jarsigner/TimestampCheck.java b/test/jdk/sun/security/tools/jarsigner/TimestampCheck.java index eac97a94113..d206ba878f1 100644 --- a/test/jdk/sun/security/tools/jarsigner/TimestampCheck.java +++ b/test/jdk/sun/security/tools/jarsigner/TimestampCheck.java @@ -865,7 +865,7 @@ static void prepare() throws Exception { } gencert("tsold", "-ext eku:critical=ts -startdate -40d -validity 500"); - gencert("tsbefore2019", "-ext eku:critical=ts -startdate 2018/01/01 -validity 3000"); + gencert("tsbefore2019", "-ext eku:critical=ts -startdate 2018/01/01 -validity 5000"); gencert("tsweak", "-ext eku:critical=ts"); gencert("tsdisabled", "-ext eku:critical=ts");