github NeySlim/ultimate-ca-manager v3.2-rc1

pre-release56 minutes ago

UCM 3.2 is a build of UCM 3.0 Phare centred on speed: pages open sooner, the API does less work per request, and the interface moves to current versions of its libraries without changing how it looks. Check the supported browsers below before you upgrade.

Faster

  • Pages open sooner. The code of the pages in the menu is fetched ahead, when the browser is idle and when an entry is hovered or focused, and most dashboard cards and the first page of the certificate and CA lists open at once on what the tab last showed, then update from the server.
  • A lighter first load. The interface loads only English and the language in use, the others when selected: the main script drops from 5.5 MB to 1.2 MB (370 kB compressed).
  • Settings opens in a few requests. It reads a section when it comes into view, then the sections beside it, so opening it from another page sends 7 requests instead of 33. The update check reuses GitHub's last answer for up to 6 hours, so opening Settings rarely waits for it; "Check now" still asks GitHub, and an install that GitHub's answer has since overtaken is refused, to be checked again.
  • Less work per API call. The fixed cost of an authenticated request falls from 15 database queries to 3, and the general settings, report schedules, dashboard figures and CA list run a fixed number of queries instead of one per item.
  • Quicker dashboard compliance. The compliance card scores each group of similar certificates once, which takes it from about 220 ms to 40 ms at 10,000 certificates.
  • Fewer duplicate requests when a screen opens, and no more loading of up to 500 certificates when Settings opens.
  • Small hosts. On a Raspberry Pi, the first Reports request no longer waits about 750 ms for the PDF library, and a native installation without a Base URL no longer runs hostname -f on every request: it reads the host name at startup, so a new host name takes effect after a service restart.

New

  • Reissue a root CA with a non-positive serial. A root CA whose certificate serial is zero or negative, which RFC 5280 forbids, can be reissued with the same key from its detail, under a positive serial; the old certificate is kept beside it. Any CA with such a serial, root or not, is flagged in its detail, in the CA list and by the compliance check.

Fixes

  • A security key whose public key uses an algorithm UCM does not offer, such as Ed25519, is now refused at registration, as WebAuthn requires.
  • DEB: apt purge ucm no longer changes another file when a kept ucm.env, master.key or audit-chain.keys was a hard link to it.
  • A language file that fails to load no longer holds the first screen: after five seconds at most the interface shows English, then switches as soon as the file arrives.
  • A CA certificate that the cryptography library refuses no longer breaks the CA list, and a non-positive serial no longer floods the journal with warnings.
  • The static files of the interface, which any cache may keep, no longer carry the session cookie.
  • The interface checks xn-- names in SANs itself, the way the server does, instead of through the browser's address parser.
  • A merge restore no longer writes one approval request twice while leaving another untouched.
  • The encryption status no longer counts some unencrypted values as encrypted.
  • The built-in help for the session key now says that rotation is refused in Docker, in the five help languages.

Libraries

  • The interface now runs on React 19 and react-router 8 and is built with Tailwind CSS 4, with the same pages, addresses and look; the server moves to gunicorn 27, gevent 26, SQLAlchemy 2.1, webauthn 3 and python-dateutil 4.
  • Building the interface from source needs Node.js 22.22 or later.

Before you upgrade

  • Browsers: Chrome or Edge 117, Safari 16.6, Firefox 128 or later. An older browser shows the pages with a broken layout. Chrome and Edge already needed 117.

Full list of changes: CHANGELOG.md

Upgrading: UPGRADE.md


Installation

Docker (Recommended)

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

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

# 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.2-rc1

Debian/Ubuntu

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

Fedora

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

RHEL, AlmaLinux, Rocky Linux 9

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

RHEL, AlmaLinux, Rocky Linux 10

wget https://github.com/NeySlim/ultimate-ca-manager/releases/download/v3.2-rc1/ucm-el10-3.2.rc1-1.el10.noarch.rpm
sudo dnf install ./ucm-el10-3.2.rc1-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.2-rc1-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.2.rc1_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.2.rc1-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.2.rc1_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

Don't miss a new ultimate-ca-manager release

NewReleases is sending notifications on new releases.