• v1.28.0 ff3047b61f

    LDAP WebGUI v1.28.0
    All checks were successful
    Tests / pytest (Python 3.11) (push) Successful in 6m24s
    Tests / pytest (Python 3.12) (push) Successful in 6m40s
    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 20s
    Release / Publish release (push) Successful in 3s
    Stable

    Lyra released this 2026-11-03 00:15:08 +01:00 | 12 commits to main since this release

    Added

    • Renew the LDAP server's certificate from the web UI when the
      WebGUI and slapd run on the same host (Settings → Certificates, full
      admins, password re-entry). Offered only when the certificate the
      directory serves is this host's slapd certificate; with a directory on
      another host the card keeps showing its dates only. Same ways as for
      HTTPS: the host makes an RSA 3072 key and a CSR (for ldap.host, the
      host's names and every name of the current certificate), or you upload
      a certificate with its key. Before anything is replaced the
      certificate must also cover ldap.host and every name the current
      certificate covers, and chain to the CA the directory's clients
      trust. Then the files are swapped (*.prev kept, the key
      root:openldap 0640), slapd is restarted, and the new certificate
      must be served, an ldapsearch with the CA must succeed and the
      WebGUI's own /health must answer — otherwise the previous files go
      back and slapd is restarted again.
    • A CA change is its own, confirmed step. A certificate that does not
      chain to the directory's current CA — moving from the generated
      self-signed certificate to your own CA is one — is installed only
      after an explicit confirmation that every client (SSSD, a WebGUI on
      another host) already trusts the new CA. The upload must end in the
      new CA certificate; it replaces the directory's CA file together
      with the certificate. A web request never adds a CA to the system
      trust store — the generated CA's entry is removed, the new CA goes
      there only by hand. A CA change needs ldap.tls.ca_cert set.
    • nginx and slapd must use their own files (/etc/ssl/ldap-webgui/,
      /etc/ldap/tls/); a certificate or key shared by both is refused.
    • bootstrap-ldap.sh adds the directory's CA to the system trust store
      (/usr/local/share/ca-certificates/ldap-webgui-ca.crt).
    • certtool.sh --probe records this host's slapd certificate files
      (from cn=config); install.sh, update.sh and bootstrap-ldap.sh
      run it.

    Changed

    • Security-log events CERT_* carry target=nginx|slapd;
      CERT_INSTALLED for slapd also ca_change=yes|no.

    Upgrade notes

    • Nothing to do by hand. The renewal runner stays off until enabled
      (systemctl enable --now ldap-webgui-cert.path, since 1.27.0); once
      enabled it serves both certificates.

    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