Set-OPS-Public/roles/serveur_openldap/templates/setops-slapd-cert-sync.service.j2
Daniel Allaire 1edd205d13 serveur_openldap : TLS via step_ca + organisation en intrant (code prod)
- TLS LDAPS/STARTTLS : pont du cert step_ca (client_pki, root:root 600)
  vers /etc/ldap/tls lisible par openldap ; script + unité path systemd
  qui re-synchronise et recharge slapd au renouvellement ; olcTLS* dans
  cn=config ; SLAPD_SERVICES expose ldaps://. Dégrade proprement sans cert.
- Organisation : intrant chezlepro_organisation (remplace « Exemple Inc »).

Validé statiquement (ansible-lint, syntax) ; déploiement réel à suivre.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 07:27:43 -04:00

8 lines
238 B
Django/Jinja

# Gere par Set-OPS (role serveur_openldap). Ne pas editer a la main.
[Unit]
Description=Set-OPS — synchronise le certificat step_ca vers slapd
After=slapd.service
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/setops-slapd-cert-sync