Skip to content

Implement certificate generator #381

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

Closed
kate-osborn opened this issue Jan 17, 2023 · 0 comments
Closed

Implement certificate generator #381

kate-osborn opened this issue Jan 17, 2023 · 0 comments
Labels
backlog Currently unprioritized work. May change with user feedback or as the product progresses. enhancement New feature or request

Comments

@kate-osborn
Copy link
Contributor

kate-osborn commented Jan 17, 2023

Parent ticket: #292

The communication channel between the agent and control plane must be secure by default (TLS). Rather than providing a long-lived self-signed certificate for development and testing purposes, provide a Kubernetes Job that generates the control plane's keypair, certificate, and the CA bundle. Look into using the Kubernetes Certificate Signing Requests.

A/C:

  • During install, a Kubernetes Job is created that generates the control plane's keypair, certificate, and CA bundle and writes them to Kubernetes Secrets.
  • The CA bundle is mounted to the agent's Pod as a volume, and the path to the bundle is specified in the agent's configuration file or via command line flags.
  • The control plane's keypair and certificate are mounted to the control plane's Pod, and the path is provided to the control plane via a command line flag.
  • The control plane can handle certificate rotation without having to restart.
  • A ticket has been filed against the agent to handle CA certificate rotation.

Aha! Link: https://nginx.aha.io/features/NKG-39

@mpstefan mpstefan added the enhancement New feature or request label Jun 9, 2023
@mpstefan mpstefan added the backlog Currently unprioritized work. May change with user feedback or as the product progresses. label Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Currently unprioritized work. May change with user feedback or as the product progresses. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants