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

Feature request: update-certificate for standalone nodes #14465

Open
3 tasks
vosdev opened this issue Nov 14, 2024 · 0 comments
Open
3 tasks

Feature request: update-certificate for standalone nodes #14465

vosdev opened this issue Nov 14, 2024 · 0 comments
Labels
Feature New feature, not a bug

Comments

@vosdev
Copy link
Contributor

vosdev commented Nov 14, 2024

LXD Cluster members have a nice built-in method to update certificates:
https://documentation.ubuntu.com/lxd/en/latest/reference/manpages/lxc/cluster/update-certificate/

lxc cluster update-certificate /path/to/fullchain.pem /path/to/privkey.pem

Unfortunately the current method for standalone LXD hosts is to do it manually:

  • copy your certificate to /var/snap/lxd/common/lxd/server.crt
  • copy key to /var/snap/lxd/common/lxd/server.key
  • systemctl reload snap.lxd.daemon.service

I would like to request this feature be similar for both standalone and clusters, for example:

lxc config update-certificate /path/to/fullchain.pem /path/to/privkey.pem

Previously not as important, but now with the Web UI here I think this is a nice and simple feature to keep the same across both standalone and clustered hosts.

@tomponline tomponline added the Feature New feature, not a bug label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature, not a bug
Projects
None yet
Development

No branches or pull requests

2 participants