Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-3788

CLI needs to set argument --password together with the value when setting it

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 6.2.9
    • Component/s: CLI
    • Labels:
    • Issue discovered during:
      Testing

      Description

      Trying to set password for end entity with :
      $ ./ejbca.sh ra setpwd <endentity> foo123
      gives error:
      ERROR: Incorrect parameter usage.
      The following arguments are unknown:
      foo123

      The following mandatory arguments are missing or poorly formed:
      --password New password for the end entity.

      When using the argument then is succeeds :
      $ ./ejbca.sh ra setpwd <endentity> --password foo123
      SETTING: --username as <endentity>
      SETTING: --password as foo123
      Setting password (hashed only) foo123 for user <endentity>

        Attachments

          Activity

            People

            Assignee:
            mikek Mike Agrenius Kushner
            Reporter:
            dimitrios Dimitrios Tachtsioglou (Inactive)
            Verified by:
            Tomas Gustavsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: