Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-16003

Elytron key-store generate-key-pair fails with '"improperly specified input name: xxx"'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Security
    • None
    • Hide

      Build/setup wfly. Star server. In second window connec with console:

      ./bin/jboss-cli.sh -c

      Use following sequence of commands:

      /subsystem=elytron/key-store=myKS:add(path=keystore.jks, relative-to=jboss.server.config.dir, credential-reference=

      Unknown macro: {clear-text=secret}

      , type=JKS)
      cd /subsystem=elytron/key-store=myKS
      :generate-key-pair(alias="xxx",distinguished-name="xxx")

      Output:

      { "outcome" => "failed", "failure-description" => "improperly specified input name: xxx", "rolled-back" => true }
      Show
      Build/setup wfly. Star server. In second window connec with console: ./bin/jboss-cli.sh -c Use following sequence of commands: /subsystem=elytron/key-store=myKS:add(path=keystore.jks, relative-to=jboss.server.config.dir, credential-reference= Unknown macro: {clear-text=secret} , type=JKS) cd /subsystem=elytron/key-store=myKS :generate-key-pair(alias="xxx",distinguished-name="xxx") Output: { "outcome" => "failed", "failure-description" => "improperly specified input name: xxx", "rolled-back" => true }

      DN description:
      "distinguished-name" => {
      "type" => STRING,
      "description" => "The DN to use as both the subject DN and the issuer DN.",
      "expressions-allowed" => true,
      "required" => true,
      "nillable" => false,
      "min-length" => 1L,
      "max-length" => 2147483647L

              lvydra Lukas Vydra
              rhn-cservice-bbaranow Bartosz Baranowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: