-
Bug
-
Resolution: Fixed
-
P3
-
7, 8, 11, 14
-
b12
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8240352 | 14.0.2 | Ravi Reddy | P3 | Resolved | Fixed | b01 |
JDK-8240473 | 14.0.1 | Ravi Reddy | P3 | Resolved | Fixed | b07 |
JDK-8246363 | 13.0.4 | Sean Coffey | P3 | Resolved | Fixed | b04 |
JDK-8240364 | 11.0.8-oracle | Sean Coffey | P3 | Resolved | Fixed | b01 |
JDK-8241227 | 11.0.8 | Sean Coffey | P3 | Resolved | Fixed | b01 |
JDK-8241868 | openjdk8u262 | Sean Coffey | P3 | Resolved | Fixed | team |
JDK-8240374 | 8u261 | Sean Coffey | P3 | Resolved | Fixed | b01 |
JDK-8246969 | emb-8u261 | Sean Coffey | P3 | Resolved | Fixed | team |
JDK-8240651 | 7u271 | Sean Coffey | P3 | Resolved | Fixed | b01 |
generated certificate. With configuring validity so that the expire date is
between 2050/01/01 00:00 and 2050/01/01 07:59 (UTC), the expire date in the
certificate comes to 1950/01/01.
Steps to reproduce :
1. Create certificate
$ keytool -genkey -alias test -keyalg RSA -keysize 512 -keypass changeit
-validity 10924 -storetype JKS -keystore mykeystore -storepass changeit
-dname 'cn=xxx.yyyy.zzz, ou=Vvv, o=Www, c=JP'
10924 is the days from 2020/02/04 10:00 to 2050/01/01 10:00. The value needs
to be changed in line with the day and timezone.
2. Check certificate
$ keytool -list -v -storepass changeit -keystore mykeystore
In generated certificate 'valid from' field will contain the wrong value.
Expected Value :
Valid from: Tue Feb 04 10:05:50 JST 2020 until: Sun Jan 01 10:05:50 JST 2050
Actual Value :
Valid from: Tue Feb 04 10:05:50 JST 2020 until: Sun Jan 01 10:05:50 JST 1950
- backported by
-
JDK-8240352 Keytool generates wrong expiration date if validity is set to 2050/01/01
- Resolved
-
JDK-8240364 Keytool generates wrong expiration date if validity is set to 2050/01/01
- Resolved
-
JDK-8240374 Keytool generates wrong expiration date if validity is set to 2050/01/01
- Resolved
-
JDK-8240473 Keytool generates wrong expiration date if validity is set to 2050/01/01
- Resolved
-
JDK-8240651 Keytool generates wrong expiration date if validity is set to 2050/01/01
- Resolved
-
JDK-8241227 Keytool generates wrong expiration date if validity is set to 2050/01/01
- Resolved
-
JDK-8241868 Keytool generates wrong expiration date if validity is set to 2050/01/01
- Resolved
-
JDK-8243885 Keytool generates wrong expiration date if validity is set to 2050/01/01
- Resolved
-
JDK-8246363 Keytool generates wrong expiration date if validity is set to 2050/01/01
- Resolved
-
JDK-8246969 Keytool generates wrong expiration date if validity is set to 2050/01/01
- Resolved
- relates to
-
JDK-8240988 Incorrect copyright header in CertificateValidation.java
- Resolved