Self Signed X.509 Certificates

Platform:

Ubuntu
26.04 24.04 22.04
Channel Revision Published Runs on
1/stable 728 01 Dec 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/stable 739 30 Nov 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/stable 729 30 Nov 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/stable 736 30 Nov 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/stable 727 30 Nov 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/stable 588 05 Mar 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/candidate 736 24 Nov 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/candidate 739 24 Nov 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/candidate 728 17 Nov 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/candidate 729 17 Nov 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/candidate 727 17 Nov 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/candidate 588 05 Mar 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/beta 743 01 Dec 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/beta 740 01 Dec 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/beta 739 24 Nov 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/beta 736 24 Nov 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/beta 729 17 Nov 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/beta 727 17 Nov 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/edge 750 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/edge 749 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/edge 748 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/edge 747 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/edge 746 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/edge 745 01 Dec 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/edge 327 31 Jul 2025
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
juju deploy self-signed-certificates --channel 1/beta

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