• v1.29.0 29af4d5e2a

    LDAP WebGUI v1.29.0
    All checks were successful
    Tests / pytest (Python 3.11) (push) Successful in 15m17s
    Tests / pytest (Python 3.12) (push) Successful in 17m16s
    Tests / shellcheck (install.sh, update.sh, bootstrap-ldap.sh, webupdate.sh, get_ldap-webgui.sh, setup.sh, config-backup.sh, certtool.sh) (push) Successful in 21s
    Release / Publish release (push) Successful in 3s
    Stable

    Lyra released this 2026-11-03 22:39:53 +01:00 | 11 commits to main since this release

    Added

    • One certificate for HTTPS and LDAP (Settings → Certificates, full
      admins, password re-entry), offered when both single renewals are —
      the renewal runner enabled and the directory this WebGUI uses is this
      host's slapd. One CSR for both sides' names (ldap.host as CN, RSA
      3072) or one upload; every check of both sides runs before anything
      is replaced, a CA change needs the same confirmation as for slapd.
      Then both sides' files are swapped (*.prev kept), nginx is reloaded
      and confirmed, slapd restarted and confirmed — any failure puts both
      sides' previous files back. Security-log events carry target=both.
    • The CSR can be edited, for HTTPS, the LDAP server and the combined
      certificate alike: an Advanced view (collapsed by default) lists the
      names the CSR will carry, lets you leave out optional ones, add names,
      choose the CN and set the subject fields O, OU, L, ST and C. Names
      clients depend on cannot be left out. Without a recorded name list
      (certtool.sh --probe) it offers extra names, CN and subject only.
    • A WebUI name field in the HTTPS and combined CSR and install
      forms: the name browsers use, prefilled from the address you are
      using, else the nginx site's server_name, else the host name.

    Changed

    • The HTTPS certificate must cover the WebUI name instead of
      hostname -f; it is also the default CN. The host's own name becomes
      an optional name of the CSR. A pending CSR made by 1.27/1.28 is still
      checked against hostname -f.
    • A host whose nginx and slapd share a certificate and/or key file —
      refused by both single renewals since 1.28.0 — can now be renewed
      with One certificate for HTTPS and LDAP; the shared files get
      slapd's modes (root:openldap 0640 key, root:root 0644 cert).
    • ldap-webgui-cert.service: TimeoutStartSec raised from 4 to
      6 minutes — a combined install with a rollback reloads nginx and
      restarts slapd twice.
    • Combined renewal with a CA change: the LDAP side's the new CA is not
      in this host's system store
      replaces the HTTPS side's the CA is not
      in this host's trust store
      instead of following it.
    • Settings reference: slapd should not reuse the installer's
      self-signed HTTPS certificate — its localhost and IP:127.0.0.1
      would have to be kept by every later LDAP renewal.

    Fixed

    • A CA change that removes the LDAP CA's trust-store entry now logs
      CERT_TRUST_REMOVED, as the HTTPS entry's removal does.
    • A confirmed CA change no longer leaves
      ldap-webgui-ca.crt.prev in /usr/local/share/ca-certificates/; it
      is kept only until the install is confirmed.
    • /favicon.ico exists: the vhost has always pointed at
      app/static/favicon.ico, but the file was never shipped, so every
      browser logged a 404. The icon is the header logo.

    Upgrade notes

    • Nothing to do by hand. The nginx site is unchanged; update.sh
      installs the new service unit and reloads systemd. The renewal runner
      stays off until enabled (systemctl enable --now ldap-webgui-cert.path, since 1.27.0).

    Update without git access: download the source tar.gz below, extract it, then run the update.sh it contains:
    sudo bash <extracted-dir>/update.sh --archive <tarball>

    Downloads