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

System tests: VA Publisher with Throwaway certs

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 6.14.0
    • Component/s: None
    • Labels:
      None

      Description

      EnterpriseValidationAuthorityPublisher needs a test for the case when the CA is a throw away CA, and we are trying to revoke a (non-existing due to throw away) certificate.

      We could extend VaPublisherTest / VaPublisherQueueTest.

      Test case:
      1.

      • Create throw away CA
      • Create a EnterpriseValidationAuthorityPublisher
      • Issue certificate using the throw away CA

      Expected outcome: No data is persisted in CertificateData for the issued TA cert
      2.

      • Revoke the issued certificate
        Expected outcome:
        Entry appears in NoConflictCertificateData and PublisherQueueData (queued for publishing).
        Assert "status" and "revocationReason" etc is equal for the entry in both tables.

        Attachments

          Activity

            People

            • Assignee:
              andrey_helmes Andrey Sergeev
              Reporter:
              robinsed Robin Sedvallson
              Verified by:
              Henrik Sunmark
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 4 days, 2 hours, 40 minutes
                1w 4d 2h 40m