- 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>
12 lines
385 B
Django/Jinja
12 lines
385 B
Django/Jinja
# Gere par Set-OPS (role serveur_openldap). Ne pas editer a la main.
|
|
# Surveille le certificat step_ca : au renouvellement (client_pki), resynchronise
|
|
# vers slapd et le recharge.
|
|
[Unit]
|
|
Description=Set-OPS — surveille le certificat step_ca de slapd
|
|
|
|
[Path]
|
|
PathChanged={{ serveur_openldap_tls_source_cert }}
|
|
Unit=setops-slapd-cert-sync.service
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|