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

feat: Add TLS certificate util crate #736

Merged
merged 57 commits into from
Mar 15, 2024
Merged

Conversation

Techassi
Copy link
Member

@Techassi Techassi commented Feb 13, 2024

Follow-up of #730, discussed in stackabletech/documentation#522, tracked by stackabletech/issues#361

This PR adds a crate which handles TLS certificate generation, reading and writing.

@Techassi
Copy link
Member Author

The basic work is mostly done, but a few pieces are still missing:

  • Add a manager, which contains one or more CAs, which will be rotated automatically once they expire.
  • Add dynamic TLS cert resolver in the webhook server

@Techassi
Copy link
Member Author

Techassi commented Mar 4, 2024

* Add a manager, which contains one or more CAs, which will be rotated automatically once they expire.
* Add dynamic TLS cert resolver in the webhook server

I decided to move this into a separate PR as this PR is already big enough. Both features can be implemented on top of the changes introduced in this PR.

Techassi and others added 2 commits March 4, 2024 14:32
@Techassi Techassi marked this pull request as ready for review March 4, 2024 13:35
@Techassi Techassi requested review from nightkr and NickLarsenNZ March 4, 2024 13:35
stackable-certs/src/lib.rs Outdated Show resolved Hide resolved
stackable-certs/src/lib.rs Outdated Show resolved Hide resolved
stackable-certs/src/keys/mod.rs Outdated Show resolved Hide resolved
src/commons/secret.rs Outdated Show resolved Hide resolved
@Techassi Techassi requested a review from nightkr March 13, 2024 09:25
stackable-certs/src/keys/rsa.rs Outdated Show resolved Hide resolved
stackable-certs/src/keys/rsa.rs Outdated Show resolved Hide resolved
stackable-certs/src/keys/rsa.rs Outdated Show resolved Hide resolved
stackable-certs/src/keys/rsa.rs Outdated Show resolved Hide resolved
@Techassi Techassi requested a review from nightkr March 14, 2024 09:17
NickLarsenNZ
NickLarsenNZ previously approved these changes Mar 15, 2024
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments. None of them should be blockers. Will let you decide whether to include them.

stackable-certs/src/ca/mod.rs Show resolved Hide resolved
stackable-certs/src/ca/mod.rs Outdated Show resolved Hide resolved
stackable-certs/src/ca/mod.rs Show resolved Hide resolved
stackable-certs/src/ca/mod.rs Outdated Show resolved Hide resolved
@Techassi Techassi enabled auto-merge March 15, 2024 10:30
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@Techassi Techassi added this pull request to the merge queue Mar 15, 2024
Merged via the queue into main with commit 8664a3d Mar 15, 2024
17 checks passed
@Techassi Techassi deleted the feat/tls-cert-generation branch March 15, 2024 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants