-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
b4d0d87
commit 1431e72
Showing
3 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters