Skip to content

Enable usage of dynamic leaf certificates using a certificate resolver #745

Description

@Techassi

Currently to use TLS with webhooks, you have to manually mount a volume with the CA.

This PR: #736 adds a module to the framework that supports creating CAs and leaf certificates. Here we could just call the code to generate the certs and call the server, but then there is no way for them to be swapped out if they expire.

This ticket is about writing code to - instead of mounting a single cert - resolve a cert dynamically, allowing us to swap out expired certs while the Webhook server is running.

This resolver will be used by the stackable-webhook crate.

Follow up of #736.

Acceptance criteria

  • This TODO is resolved, and the AutoGenerate feature on the CA for the webhook works

Activity

  1. self-assigned this
    on Mar 5, 2024
  2. changed the title [-]Add dynamic TLS resolver[/-] [+]Enable autogenerating CAs with a dynamic TLS resolver[/+] on Mar 6, 2024
  3. changed the title [-]Enable autogenerating CAs with a dynamic TLS resolver[/-] [+]Enable autogenerating CAs with a dynamic TLS certificate resolver[/+] on Mar 6, 2024
  4. changed the title [-]Enable autogenerating CAs with a dynamic TLS certificate resolver[/-] [+]Enable autogenerating and rotating CAs with a dynamic TLS certificate resolver[/+] on Mar 6, 2024
  5. changed the title [-]Enable autogenerating and rotating CAs with a dynamic TLS certificate resolver[/-] [+]Enable autogenerating CAs with a dynamic TLS certificate resolver[/+] on Mar 6, 2024
  6. changed the title [-]Enable autogenerating CAs with a dynamic TLS certificate resolver[/-] [+]Enable usage of dynamic leaf certificates using a certificate resolver[/+] on Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions