-
Enhancement
-
Resolution: Fixed
-
P4
-
10, 11
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8225968 | 14 | Weijun Wang | P4 | Resolved | Fixed | team |
JDK-8238440 | 11.0.8-oracle | Weijun Wang | P4 | Resolved | Fixed | b01 |
JDK-8235449 | 11.0.7-oracle | Ivan Gerasimov | P4 | Resolved | Fixed | b04 |
JDK-8234649 | 11.0.6 | Weijun Wang | P4 | Resolved | Fixed | b05 |
JDK-8238393 | openjdk8u252 | Andrew Hughes | P4 | Resolved | Fixed | b02 |
- we can not add a license and copyright to it
- it is that it is hard to look inside the file to see what it provides
- updates to the file will be opaque (we can only see that the file has been changed)
- it's strange to maintain a security-relevant part of the OpenJDK in an opaque, binary blob
I'd therefor propose to store the certificates in text format (maybe PEM format (https://raw.githubusercontent.com/curl/curl/master/lib/mk-ca-bundle.pl), or the NSS format used by the Mozilla certdata.txt file (https://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt)) and assemble the "cacerts" file from at build time from the text representation. The AdoptOpenJDK project has some instructions (https://github.com/AdoptOpenJDK/openjdk-build/tree/master/security) on how they assemble their "cacerts" file from the Mozilla certificates which are stored in text format.
Storing the OpenJDK certificates in text format would also allow to simply merge them with additional user certificates provided at configuration/build time (i.e. with a configuration option like '--with-additional-certificates').
This whole topic has been discussed in the following mail thread:
http://mail.openjdk.java.net/pipermail/security-dev/2017-December/thread.html#16590
- backported by
-
JDK-8225968 Root Certificates should be stored in text format and assembled at build time
-
- Resolved
-
-
JDK-8234649 Root Certificates should be stored in text format and assembled at build time
-
- Resolved
-
-
JDK-8235449 Root Certificates should be stored in text format and assembled at build time
-
- Resolved
-
-
JDK-8238393 Root Certificates should be stored in text format and assembled at build time
-
- Resolved
-
-
JDK-8238440 Root Certificates should be stored in text format and assembled at build time
-
- Resolved
-
- relates to
-
JDK-8235142 JDK-8193255 backport broke bootstrap with JDK 10
-
- Resolved
-
-
JDK-8225392 Comparison builds are failing due to cacerts file
-
- Resolved
-
-
JDK-8189131 Open-source the Oracle JDK Root Certificates
-
- Resolved
-
-
JDK-8191486 JEP 319: Root Certificates
-
- Closed
-