Skip to content

Load certificate's subject/DN from config file or CLI - #508

Open
Fahrj wants to merge 2 commits into
Foxboron:masterfrom
Fahrj:subject
Open

Load certificate's subject/DN from config file or CLI#508
Fahrj wants to merge 2 commits into
Foxboron:masterfrom
Fahrj:subject

Conversation

@Fahrj

@Fahrj Fahrj commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Following openssl's style, e.g. /CN=Platform Key/C=WW/, a custom distinguished name can be given on the CLI of sbctl create-keys, or alternatively in the config file.

Probably a breaking change, because the PR replaces description with subject in the config, which however was not yet documented.

Sliced from #474 and initially authored by @bsingh-kpt

Closes #362

This might change behavior of `RotateKeyWithBackend` since `backend` is
no longer used!
Instead of `description`, load and parse `subject` for all key types.
Format follows openssl fashion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: custom Common Name

2 participants