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

Allow API client to provide serial and detect duplicate entry error #1318

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 2, 2023

  1. Allow API client to provide serial and detect duplicate entry error

    This mod adds access to `ClientProvidesSerialNumbers` cert profile field
    from JSON profile config with `client_provides_serial_numbers` option.
    When enabled, cert serial must be provided by API client in request.
    
    This mod adds also specific API error code in case of sign request
    failure caused by already taken serial number. For MySQL/MariaDB
    and SQLite only (to be done separately for PostgreSQL by devs
    using this DB engine).
    
    Author-Change-Id: IB#1137304
    Signed-off-by: Pawel Boguslawski <[email protected]>
    pboguslawski committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    1431e72 View commit details
    Browse the repository at this point in the history