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

User must fix malformed file when making cert request.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not needed to fix
    • Affects Version/s: EJBCA 6.15.0.1, EJBCA 7.0.0
    • Fix Version/s: EJBCA 7.1.0
    • Component/s: None
    • Labels:
      None
    • Provenance:
      Internal Delivery
    • Sprint:
      EJBCA Team Alice - 2019 w13

      Description

      Steps to reproduce:

      Under 'CA Functions' click on Certification Authorities
      Under 'Add CA' insert 'Test_7458' and click on 'Create...' button
      Under section 'CA Certificate Data' choose 'External CA' from the drop down list for 'Signed By'
      Under section 'Externally signed CA creation/renewal' click on 'Choose File' button
      Choose any file format that is not expected there i.e a .jar file
      Click on 'Make Certificate Request' button
      Observe that you are redirected to the certificate authority page and Invalid certificate chain error is shown in the top of the page but the Externally Signed CA shows up in the CAs list which is wrong behavior, because a CSR could not be created.

      So a proper way to handle this (as suggested by Tomas Gustavsson below) is to not leave create ca page in such case and show a good error message to user and let her/him to fix the upload and try again.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              amin Amin Khorsandi
              Reporter:
              amin Amin Khorsandi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 5 hours
                  5h
                  Remaining:
                  Remaining Estimate - 5 hours
                  5h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified