Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5103

Adding non existent and not required keystore fails

    XMLWordPrintable

Details

    Description

      We are in a case where a CLI script is executed in an embedded server. They keystore added doesn't exist locally when the script is run. The operation is:

      /subsystem=elytron/key-store=keystore:add(required=false, path="/etc/foo/keystore.jks", credential-reference={clear-text=${keystore.password}})

      Error:

      "failure-description" => {"WFLYCTL0080: Failed services" => {"org.wildfly.security.key-store.keystore" => "WFLYELY00004: Unable to start the service.
      [ERROR] Caused by: org.jboss.msc.service.StartException in anonymous service: WFLYELY00022: KeyStore file '/etc/wf-secrets/keystore.jks' does not exist and required."}},

      Attachments

        Activity

          People

            mmazanek Martin Mazánek (Inactive)
            jdenise@redhat.com Jean Francois Denise
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: