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

An NPE is thrown at user when submitting invalid CSR during enrollment

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: EJBCA 4.0.16, EJBCA 6.2.3
    • Fix Version/s: EJBCA 6.2.10
    • Component/s: Public Web UI
    • Labels:
      None
    • Issue discovered during:
      Customer

      Description

      When trying to enroll via CSR upload in the public web pages, using an invalid CSR file (wrong format, random file), an exception will be thrown and displayed to user.

      Instead of this, we should probably catch this exception and display a nice error message to the user. Something in the lines of:

      "The uploaded CSR format is invalid or unsupported by EJBCA. Please upload the CSR in one of the supported formats. For information on supported formats please refer to EJBCA documentation."

      The "refer to" could be a link to specific docs in EJBCA describing the supported formats (do we have any docs on this?).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aveen Aveen Ismail (Inactive)
              Reporter:
              branko Branko Majic (Inactive)
              Verified by:
              Mike Agrenius Kushner
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: