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

Regression: RA Web cleanup deletes existing end entity

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: EJBCA 6.14.0
    • Fix Version/s: EJBCA 6.14.0
    • Component/s: None
    • Labels:
    • Issue discovered during:
      Other
    • Sprint:
      EJBCA Sprint 17

      Description

      When issuing certificates in the RA Web there is a multi-step process internally that does addUser then createCertificate. If addUser fails, it will try to clean up and delete the old user. The cleanup can clean up existing users as well, deleting them, which is not good.

       

      To reproduce.

      Pre conditions:

      • Have an end entity profile and certificate profile that lets you issue a certificate directly by "Make new request" in the RA Web, i.e. no approvals are needed.

      Reproduce:

      • add an end entity in the admin GUI
      • Go to RA web and "make new request", fill in the fields and use the same username as in the admin GUI also in the RA web.
      • Click "download PEM"
      • an error ẃill occur "USER_ALREADY_EXISTS"
      • check in the admin GUI now, the user has been deleted

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tomas Tomas Gustavsson
                Reporter:
                tomas Tomas Gustavsson
                Verified by:
                Ulf Undmark
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 7 minutes
                  7m