make/data/cacerts/README
author mgronlun
Wed, 03 Jul 2019 11:34:46 +0200 (2019-07-03)
changeset 55571 49102ba8cf14
parent 55215 29ab1f3bd353
permissions -rw-r--r--
8214542: JFR: Old Object Sample event slow on a deep heap in debug builds Reviewed-by: egahlin, rwestberg
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.