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

Regression: addendentity CLI command can not be used for auto-generated passwords

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.0.1
    • Component/s: CLI
    • Labels:
      None
    • Sprint:
      EJBCA Team Alice - 2019 w6

      Description

      set password = autogenerated in the EE profile. You can now add end entities in Admin and RA UI, using email notifications to send auto-generated passwords.

      You can not however use the CLI to add the end entity. Something like this will not work:

      bin/ejbca.sh ra addendentity --username tomas --dn "C=SE,O=xx,CN=Tomas" --caname "ManagementCA" --type 256 --token USERGENERATED --email tomas@primekey.se --certprofile Client --eeprofile User

      If --password is not set you are prompted, and can not enter empty pwd. You can niehter not enter null or an empty pwd as the --password argument.

      This is an old regression, from something like 6.0.0, but a user have problems with their work-flow after upgrade.

        Attachments

          Activity

            People

            • Assignee:
              tomas Tomas Gustavsson
              Reporter:
              tomas Tomas Gustavsson
              Verified by:
              Henrik Sunmark, Tarmo Raudsep
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                Time Spent - 15 minutes Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - 15 minutes Remaining Estimate - 15 minutes
                15m