Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8024782

DomainLoadStoreParameter configuration example has syntax errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 8
    • security-libs

      The example in the new java.security.KeyStore.DomainLoadStoreParameter has a syntax error. The keystore entries must each end in a ";" otherwise a parsing error will be thrown. The examples should be:

       domain app1 {
           keystore app1-truststore
               keystoreURI="file:///app1/etc/truststore.jks";

           keystore system-truststore
               keystoreURI="${java.home}/lib/security/cacerts";

           keystore app1-keystore
               keystoreType="PKCS12"
               keystoreURI="file:///app1/etc/keystore.p12";
       };

            vinnie Vincent Ryan
            mullan Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: