Skip to content

v3.5

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 18:54

UCM 3.5 is a build of UCM 3.0 Phare. It lets a role or a group be limited to chosen CAs (#464), adds a policy URL for Windows computers that renew with their own certificate (#465), narrows what API keys can do, and fixes a long series of layout problems in panels, detached windows and dialogs. If you automate UCM with API keys, read the upgrade notes: several actions now need a signed-in session.

Security

  • API keys stop with the key that made them. A key created or regenerated by another API key stops working when that key is revoked, and creating, listing or managing keys with an API key needs write:apikeys (read:apikeys to list or read them).
  • Database backend: testing, switching and migrating the database need a signed-in session, and switching or migrating asks your password again. An API key is refused.
  • Email settings and Base URL (SMTP target, mailbox consent, email templates, base_url) change only in a signed-in session.
  • Your own account (profile, preferences, sessions, mTLS certificates and security keys, sign-out) answers only a signed-in session, and the dashboard, activity, effective policy and certificate tools ask a key for the scope they serve.
  • Updates: a key with write:updates installs what the update channel offers; a prerelease, a development build or a major upgrade needs admin:system.
  • Background jobs: cancelling a running job needs the permission of its type (admin:system for a backup).
  • ACME client: reusing the key of a stored certificate needs read:certificates and read:private_keys on its CA.
  • Two-factor authentication: authenticator app secrets are stored encrypted with the database key; existing secrets are encrypted in the background after the upgrade.
  • Helm chart: with HA, the Redis URL is kept in a Secret instead of the pod spec, and can come from a Secret of your own.

New

  • Permissions limited to chosen CAs (#464). A custom role or a group can grant its certificate, CSR, CA, private key, approval and key recovery permissions on chosen CAs only. Lists, search, counts, reports and approvals follow that limit, and the built-in role No access lets an account hold only what its groups grant.
  • Policy discovery by certificate for Windows (#465). A new policy URL, /ADPolicyProvider_CEP_Certificate/service.svc, authenticates the computer by its TLS client certificate. A computer that holds a valid certificate discovers the policy and renews over it without Kerberos, by certreq or by autoenrollment, FIPS mode included. It needs mTLS, or a proxy that forwards the verified certificate.

Improved

  • FIPS mode and Kerberos (#465): the readiness check now tests that the Kerberos library can derive the AES keys Active Directory uses, and warns when that derivation runs outside the FIPS module. The admin guide says what your FIPS auditor has to accept, and that a krb5 rebuilt outside the distribution packages is not supported.
  • Revoked issuing CA on Windows policy URLs: every policy URL of a profile answers 503 naming the CA when its issuing CA is revoked, instead of serving a policy nothing can be issued under.
  • Roles: the role editor shows the permissions and CA limits a role inherits from its parents.
  • SSO provider form: an empty default role and an empty base role now say what sign-in does with them.

Fixes

  • Panels and detached windows: a row's action (Add a comment, Edit, Enforce) no longer covers its value; long names, comments, contact addresses and references wrap inside the panel.
  • Detached windows keep the place and size you chose when the browser shrinks, scroll again, keep their section tabs in view when low, and follow their own width, in one or two columns.
  • Menus in front: the windows list, notifications, account and modules menus open in front of detached windows, and the Ko-fi card no longer covers them.
  • Lists and inspector: the inspector docked at the bottom leaves the list's header and rows in view on a laptop screen, and view tabs wrap instead of running under a right-docked inspector.
  • Comparison: two certificates fit side by side in a window or on a phone, and long property names break with a hyphen.
  • Phone and narrow widths: long page titles and module names no longer run under the buttons, the German top bar fits again, and dialogs no longer scroll sideways.
  • API keys: regenerating a key no longer grows its name until saving fails, and a long name no longer answers 500.
  • Spanish and Portuguese: Smart Import is translated.

For integrations

These answers change form (details in the upgrade notes):

  • API keys are refused on the database backend, email and base_url settings and the owner's account routes.
  • Managing API keys with an API key needs write:apikeys or read:apikeys.
  • Cancelling a job needs the permission of its type.
  • The UsernamePassword and Kerberos policy URLs answer 503 under a revoked issuing CA.
  • Bulk CSR signing on a CA without its key answers 400, as signing one request does.
  • related_certificate_id is given only to an account that can read the other certificate.

Full list of changes: CHANGELOG.md

Upgrading: UPGRADE.md


Installation

Docker (Recommended)

# From Docker Hub
docker pull neyslim/ultimate-ca-manager:3.5

# Or from GitHub Container Registry
docker pull ghcr.io/neyslim/ultimate-ca-manager:3.5

# Run: /etc/ucm keeps master.key, without it the stored keys cannot be read again
docker run -d -p 8443:8443 -p 8080:8080 \
  -v ucm-data:/opt/ucm/data -v ucm-config:/etc/ucm \
  --restart unless-stopped \
  --name ucm neyslim/ultimate-ca-manager:3.5

Debian/Ubuntu

wget https://github.com/NeySlim/ultimate-ca-manager/releases/download/v3.5/ucm_3.5_all.deb
sudo dpkg -i ucm_3.5_all.deb
sudo apt-get install -f

Fedora

wget https://github.com/NeySlim/ultimate-ca-manager/releases/download/v3.5/ucm-3.5-1.fc43.noarch.rpm
sudo dnf install ./ucm-3.5-1.fc43.noarch.rpm

RHEL, AlmaLinux, Rocky Linux 9

wget https://github.com/NeySlim/ultimate-ca-manager/releases/download/v3.5/ucm-el9-3.5-1.el9.noarch.rpm
sudo dnf install ./ucm-el9-3.5-1.el9.noarch.rpm

RHEL, AlmaLinux, Rocky Linux 10

wget https://github.com/NeySlim/ultimate-ca-manager/releases/download/v3.5/ucm-el10-3.5-1.el10.noarch.rpm
sudo dnf install ./ucm-el10-3.5-1.el10.noarch.rpm

FIPS mode

The -fips image runs on the OpenSSL FIPS Provider 3.5.9 (CMVP certificate #5586), which approves ML-DSA, Ed25519 and Ed448; the packages run on the FIPS module of RHEL 9 (#5573) or Ubuntu 24.04 (#5115), which do not. Full guide: FIPS Mode.

Docker, any Linux host (amd64, arm64):

docker run -d -p 8443:8443 -e UCM_FIPS=1 \
  -v ucm-data:/opt/ucm/data -v ucm-config:/etc/ucm \
  --name ucm neyslim/ultimate-ca-manager:3.5-fips

Ubuntu 24.04 with Ubuntu Pro (sudo pro enable fips, then reboot). The binary certified under #5115 is the one of Ubuntu Pro's fips stream; fips-updates carries later, patched versions that are not the certified binary:

sudo apt-get install -y gcc pkg-config python3-dev python3-venv libpq-dev libxml2-dev libxslt1-dev \
    zlib1g-dev libssl-dev libxmlsec1-dev libxmlsec1t64-openssl rustc-1.91 cargo-1.91
sudo install -d -m 750 /etc/ucm && echo 'UCM_FIPS_BUILD=1' | sudo tee /etc/ucm/ucm.env
sudo apt install ./ucm_3.5_all.deb

RHEL, AlmaLinux, Rocky Linux 9 (sudo fips-mode-setup --enable, then reboot; on RHEL, enable CodeReady Builder instead of CRB):

sudo dnf config-manager --set-enabled crb
sudo dnf install -y python3.12-devel gcc pkgconf-pkg-config libpq-devel libxml2-devel libxslt-devel \
    openssl-devel xmlsec1-devel xmlsec1-openssl libtool-ltdl-devel rust cargo
sudo install -d -m 750 /etc/ucm && echo 'UCM_FIPS_BUILD=1' | sudo tee /etc/ucm/ucm.env
sudo dnf install ./ucm-el9-3.5-1.el9.noarch.rpm

The package builds its crypto libraries against the system OpenSSL (about five minutes), sets UCM_FIPS=1 on a host in FIPS mode and prints a readiness report. Fedora, Debian and other distributions are not supported in FIPS mode: use the Docker image.

Silent/Automated Install

# Skip firewall prompts for CI/automation
sudo UCM_PORT=8443 UCM_FIREWALL=no dpkg -i ucm_3.5_all.deb

First Access

  • Username: admin
  • Password: none by default. Set INITIAL_ADMIN_PASSWORD_FILE (or INITIAL_ADMIN_PASSWORD) before the first start, or read the generated one with sudo cat /opt/ucm/data/initial-admin-password (Docker: docker exec <container> cat /opt/ucm/data/initial-admin-password); a generated password must be changed at first login.

Documentation