Skip to content

Commit 02b8101

Browse files
committed
8341059: Change Entrust TLS distrust date to November 12, 2024
Reviewed-by: sgehwolf Backport-of: f554c3ffce7599fdb535b03db4a6ea96870b3c2d
1 parent 6acc668 commit 02b8101

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

jdk/src/share/classes/sun/security/validator/CADistrustPolicy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void checkDistrust(String variant, X509Certificate[] chain)
5757

5858
/**
5959
* Distrust TLS Server certificates anchored by an Entrust root CA and
60-
* issued after October 31, 2024. If enabled, this policy is currently
60+
* issued after November 11, 2024. If enabled, this policy is currently
6161
* enforced by the PKIX and SunX509 TrustManager implementations
6262
* of the SunJSSE provider implementation.
6363
*/

jdk/src/share/classes/sun/security/validator/EntrustTLSPolicy.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ final class EntrustTLSPolicy {
9292

9393
// Any TLS Server certificate that is anchored by one of the Entrust
9494
// roots above and is issued after this date will be distrusted.
95-
private static final LocalDate OCTOBER_31_2024 =
96-
LocalDate.of(2024, Month.OCTOBER, 31);
95+
private static final LocalDate NOVEMBER_11_2024 =
96+
LocalDate.of(2024, Month.NOVEMBER, 11);
9797

9898
/**
9999
* This method assumes the eeCert is a TLS Server Cert and chains back to
@@ -115,8 +115,8 @@ static void checkDistrust(X509Certificate[] chain)
115115
Date notBefore = chain[0].getNotBefore();
116116
LocalDate ldNotBefore = notBefore.toInstant()
117117
.atZone(ZoneOffset.UTC).toLocalDate();
118-
// reject if certificate is issued after October 31, 2024
119-
checkNotBefore(ldNotBefore, OCTOBER_31_2024, anchor);
118+
// reject if certificate is issued after November 11, 2024
119+
checkNotBefore(ldNotBefore, NOVEMBER_11_2024, anchor);
120120
}
121121
}
122122

jdk/src/share/lib/security/java.security-aix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ jdk.sasl.disabledMechanisms=
12131213
# Distrust after December 31, 2019.
12141214
#
12151215
# ENTRUST_TLS : Distrust TLS Server certificates anchored by
1216-
# an Entrust root CA and issued after October 31, 2024.
1216+
# an Entrust root CA and issued after November 11, 2024.
12171217
#
12181218
# Leading and trailing whitespace surrounding each value are ignored.
12191219
# Unknown values are ignored. If the property is commented out or set to the

jdk/src/share/lib/security/java.security-linux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,7 @@ jdk.sasl.disabledMechanisms=
12191219
# Distrust after December 31, 2019.
12201220
#
12211221
# ENTRUST_TLS : Distrust TLS Server certificates anchored by
1222-
# an Entrust root CA and issued after October 31, 2024.
1222+
# an Entrust root CA and issued after November 11, 2024.
12231223
#
12241224
# Leading and trailing whitespace surrounding each value are ignored.
12251225
# Unknown values are ignored. If the property is commented out or set to the

jdk/src/share/lib/security/java.security-macosx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ jdk.sasl.disabledMechanisms=
12171217
# Distrust after December 31, 2019.
12181218
#
12191219
# ENTRUST_TLS : Distrust TLS Server certificates anchored by
1220-
# an Entrust root CA and issued after October 31, 2024.
1220+
# an Entrust root CA and issued after November 11, 2024.
12211221
#
12221222
# Leading and trailing whitespace surrounding each value are ignored.
12231223
# Unknown values are ignored. If the property is commented out or set to the

jdk/src/share/lib/security/java.security-solaris

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ jdk.sasl.disabledMechanisms=
12151215
# Distrust after December 31, 2019.
12161216
#
12171217
# ENTRUST_TLS : Distrust TLS Server certificates anchored by
1218-
# an Entrust root CA and issued after October 31, 2024.
1218+
# an Entrust root CA and issued after November 11, 2024.
12191219
#
12201220
# Leading and trailing whitespace surrounding each value are ignored.
12211221
# Unknown values are ignored. If the property is commented out or set to the

jdk/src/share/lib/security/java.security-windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ jdk.sasl.disabledMechanisms=
12171217
# Distrust after December 31, 2019.
12181218
#
12191219
# ENTRUST_TLS : Distrust TLS Server certificates anchored by
1220-
# an Entrust root CA and issued after October 31, 2024.
1220+
# an Entrust root CA and issued after November 11, 2024.
12211221
#
12221222
# Leading and trailing whitespace surrounding each value are ignored.
12231223
# Unknown values are ignored. If the property is commented out or set to the

jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
/**
3535
* @test
36-
* @bug 8337664
36+
* @bug 8337664 8341059
3737
* @summary Check that TLS Server certificates chaining back to distrusted
3838
* Entrust roots are invalid
3939
* @library /lib/security
@@ -56,14 +56,14 @@ public class Distrust {
5656
"affirmtrustpremiumca", "affirmtrustpremiumeccca" };
5757

5858
// A date that is after the restrictions take effect
59-
private static final Date NOVEMBER_1_2024 =
60-
Date.from(LocalDate.of(2024, 11, 1)
59+
private static final Date NOVEMBER_12_2024 =
60+
Date.from(LocalDate.of(2024, 11, 12)
6161
.atStartOfDay(ZoneOffset.UTC)
6262
.toInstant());
6363

6464
// A date that is a second before the restrictions take effect
65-
private static final Date BEFORE_NOVEMBER_1_2024 =
66-
Date.from(LocalDate.of(2024, 11, 1)
65+
private static final Date BEFORE_NOVEMBER_12_2024 =
66+
Date.from(LocalDate.of(2024, 11, 12)
6767
.atStartOfDay(ZoneOffset.UTC)
6868
.minusSeconds(1)
6969
.toInstant());
@@ -81,7 +81,7 @@ public static void main(String[] args) throws Exception {
8181
Security.setProperty("jdk.security.caDistrustPolicies", "");
8282
}
8383

84-
Date notBefore = before ? BEFORE_NOVEMBER_1_2024 : NOVEMBER_1_2024;
84+
Date notBefore = before ? BEFORE_NOVEMBER_12_2024 : NOVEMBER_12_2024;
8585

8686
X509TrustManager pkixTM = getTMF("PKIX", null);
8787
X509TrustManager sunX509TM = getTMF("SunX509", null);

0 commit comments

Comments
 (0)