self-signed-certificates

Self Signed X.509 Certificates

Channel Revision Published Runs on
latest/stable 264 11 Mar 2025
Ubuntu 22.04
latest/stable 265 11 Mar 2025
Ubuntu 22.04
latest/edge 514 Today
Ubuntu 22.04
latest/edge 513 Today
Ubuntu 22.04
1/stable 317 10 Jun 2025
Ubuntu 24.04
1/stable 262 11 Mar 2025
Ubuntu 24.04
1/candidate 447 19 Nov 2025
Ubuntu 24.04
1/candidate 446 19 Nov 2025
Ubuntu 24.04
1/beta 483 09 Dec 2025
Ubuntu 24.04 Ubuntu 22.04
1/beta 481 09 Dec 2025
Ubuntu 24.04 Ubuntu 22.04
1/beta 484 09 Dec 2025
Ubuntu 24.04 Ubuntu 22.04
1/beta 482 09 Dec 2025
Ubuntu 24.04 Ubuntu 22.04
1/edge 518 Today
Ubuntu 24.04 Ubuntu 22.04
1/edge 517 Today
Ubuntu 24.04 Ubuntu 22.04
1/edge 516 Today
Ubuntu 24.04 Ubuntu 22.04
1/edge 515 Today
Ubuntu 24.04 Ubuntu 22.04
1/edge 327 31 Jul 2025
Ubuntu 24.04 Ubuntu 22.04
juju deploy self-signed-certificates --channel 1/edge
Show information

Platform:

Ubuntu
24.04 22.04

If you have the charm deployed from the latest/stable track we recommend migrating to 1/stable immediately as latest is deprecated.

To keep using your current CA follow these steps:

  1. Rename the secret owned by self-signed-certificates that contains the CA from ca-certificates to active-ca-certificates
juju update-secret <secret-id> --name active-ca-certificates
  1. Refresh the charm using the following config options
  • Set root-ca-validity and certificate-validity to match the values from your current deployment, for example if you had certificate-validity set to 10 now you need to set it to 10d
  • ca-country-name to US as it was a default value in latest
juju refresh ssc --channel 1/edge --config certificate-validity=10d --config root-ca-validity=365d --config ca-country-name="US"

If keeping the current CA is not a concern:

  1. Rename the secret
juju update-secret <secret-id> --name active-ca-certificates
  1. Refresh the charm
juju refresh ssc --channel 1/stable
  1. Configure the charm with your desired config values (This step is essential for issued certificates to be rotated and new certificates to be issued by the new CA)

For example:

juju config ssc certificate-validity=30d

Or rotate the private key if no config changes are desired

juju run ssc/0 rotate-private-key