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

EJBCA CLI prompts twice for the CLI password when using -p

    Details

    • Issue discovered during:
      Other

      Description

      When running a CLI or statedump command with -p flag (prompt for EJBCA CLI password), the tool will prompt me twice for the CLI password (I think).

      Example output:

      [jboss@manca1 statedump]$ java -jar statedump.jar import --end-entity-password somepasswordrandom -l /opt/ejbca-custom/conf/statedump/ -p
      SETTING: --end-entity-password as somepasswordrandom
      SETTING: -l as /opt/ejbca-custom/conf/statedump/
      Password (p): <- First password prompt.

      SETTING: -p as MANAGEMENTCA_EJBCA_CLI_DEFAULTPASSWORD
      [Password:] <-- Second password prompt.
      Importing dump from directory: /opt/ejbca-custom/conf/statedump

        Attachments

          Activity

            People

            Assignee:
            mikek Mike Agrenius Kushner
            Reporter:
            branko Branko Majic (Inactive)
            Verified by:
            Tomas Gustavsson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: