-
-
Notifications
You must be signed in to change notification settings - Fork 15
feat!(stackable-certs): Support adding SAN entries #1057
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
Merged
Merged
Changes from 11 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
42ead5b
feat!(stackable-certs): Support adding SAN entries
sbernauer 45a6a1b
changelog
sbernauer 2b17859
changelog
sbernauer d4d2d0d
Improve error
sbernauer e2901ab
changelog
sbernauer 3880bd8
Merge branch 'main' into feat/san-2
sbernauer 67cba18
Update crates/stackable-certs/src/ca/mod.rs
sbernauer 4dc617f
Update crates/stackable-certs/CHANGELOG.md
sbernauer b5faf6d
Update crates/stackable-certs/CHANGELOG.md
sbernauer a58677c
lets try different formatting
sbernauer e8b47b2
Merge branch 'main' into feat/san-2
sbernauer 49faa95
changelog
sbernauer fc835d1
Update crates/stackable-certs/src/ca/mod.rs
sbernauer d1d6140
Update crates/stackable-certs/src/ca/mod.rs
sbernauer 3962a16
expect message
sbernauer a81cf5b
expect instead of snafu
sbernauer ca488cd
Update crates/stackable-certs/src/ca/mod.rs
sbernauer 408c33f
lowercase error message
sbernauer 98acd6c
Airflow -> Product
sbernauer 972c7d6
fmt
sbernauer 76ea5b2
Update crates/stackable-certs/src/ca/mod.rs
sbernauer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
use stackable_operator::time::Duration; | ||
|
||
/// The default CA validity time span of one hour (3600 seconds). | ||
pub const DEFAULT_CA_VALIDITY_SECONDS: u64 = 3600; | ||
pub const DEFAULT_CA_VALIDITY: Duration = Duration::from_hours_unchecked(1); | ||
|
||
/// The root CA subject name containing only the common name. | ||
pub const ROOT_CA_SUBJECT: &str = "CN=Stackable Data Platform Internal CA"; | ||
pub const SDP_ROOT_CA_SUBJECT: &str = "CN=Stackable Data Platform Internal CA"; |
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.