make/data/cacerts/README
author jpai
Sat, 24 Aug 2019 09:31:15 +0530
changeset 58053 1a296c9064dc
parent 55215 29ab1f3bd353
permissions -rw-r--r--
8177389: Hyphen "-" should be removed in URL class documentation Summary: javadoc of java.net.URL constructor updated to remove an unnecessary hyphen Reviewed-by: dfuchs
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.