make/data/cacerts/README
author jlaskey
Thu, 14 Nov 2019 12:50:08 -0400
branchJDK-8193209-branch
changeset 59088 da026c172c1e
parent 55215 29ab1f3bd353
permissions -rw-r--r--
add missing files
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
55215
29ab1f3bd353 8193255: Root Certificates should be stored in text format and assembled at build time
weijun
parents:
diff changeset
     1
Each file in this directory (except for this README) contains a CA certificate in PEM format. It can be generated with
29ab1f3bd353 8193255: Root Certificates should be stored in text format and assembled at build time
weijun
parents:
diff changeset
     2
29ab1f3bd353 8193255: Root Certificates should be stored in text format and assembled at build time
weijun
parents:
diff changeset
     3
keytool -J-Duser.timezone=GMT -printcert -file ca.cert | sed -n '1,4p;8,10p'
29ab1f3bd353 8193255: Root Certificates should be stored in text format and assembled at build time
weijun
parents:
diff changeset
     4
keytool -printcert -file ca.cert -rfc
29ab1f3bd353 8193255: Root Certificates should be stored in text format and assembled at build time
weijun
parents:
diff changeset
     5
29ab1f3bd353 8193255: Root Certificates should be stored in text format and assembled at build time
weijun
parents:
diff changeset
     6
Please note the textual part before the "-----BEGIN CERTIFICATE-----" line is just a suggestion and not arbitrary.
29ab1f3bd353 8193255: Root Certificates should be stored in text format and assembled at build time
weijun
parents:
diff changeset
     7
29ab1f3bd353 8193255: Root Certificates should be stored in text format and assembled at build time
weijun
parents:
diff changeset
     8
After any change in this directory, please remember to update the content of `test/jdk/sun/security/lib/cacerts/VerifyCACerts.java` as well.
29ab1f3bd353 8193255: Root Certificates should be stored in text format and assembled at build time
weijun
parents:
diff changeset
     9
29ab1f3bd353 8193255: Root Certificates should be stored in text format and assembled at build time
weijun
parents:
diff changeset
    10
All changes to this directory need to be approved by the Security group.