Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test for CA with sequential serial numbers #4872

Merged
merged 2 commits into from
Oct 8, 2024

Commits on Oct 8, 2024

  1. Add SerialNumberUpdateJob

    The SerialNumberUpdateJob has been added to update the ranges
    for sequential serial numbers, similar to SerialNumberUpdateTask.
    The job can be scheduled to run automatically at specific times,
    or can be run immediately by calling pki ca-job-start, whereas
    the task only supports a fixed interval.
    
    An upgrade script has been added to add the default config params
    for SerialNumberUpdateJob into existing instances. In the future
    it might be possible to replace SerialNumberUpdateTask with
    SerialNumberUpdateJob automatically.
    
    https://github.com/dogtagpki/pki/wiki/Configuring-SerialNumberUpdateJob
    edewata committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    c05ed98 View commit details
    Browse the repository at this point in the history
  2. Update test for CA with sequential serial numbers

    pkispawn has been modified to provide more params to configure the
    sequential serial numbers in CA. The params can also be added for
    KRA if needed later.
    
    The test for CA with sequential serial numbers has been updated to
    perform more detailed steps and verification. The test will now use
    small ranges to make it easier to verify the changes in the CS.cfg
    and DS. The test will also use SerialNumberUpdateJob to update the
    ranges immediately instead of waiting for SerialNumberUpdateTask
    to run.
    
    A more complex test with CA clones will be added separately later.
    edewata committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    b707bd9 View commit details
    Browse the repository at this point in the history