2026-06-24 20:17:46 -04:00
|
|
|
---
|
|
|
|
|
client_pki_paquets:
|
|
|
|
|
- step-cli
|
|
|
|
|
|
|
|
|
|
client_pki_steppath: "/etc/step"
|
|
|
|
|
|
|
|
|
|
# AC interne (serveur_step_ca / infra-pki-01).
|
|
|
|
|
client_pki_ca_url: "https://infra-pki-01.{{ domaine_interne }}:8443"
|
|
|
|
|
client_pki_provisioner: "admin@{{ domaine_interne }}"
|
|
|
|
|
|
|
|
|
|
# Identite de l'hote.
|
|
|
|
|
client_pki_nom_cert: "{{ ansible_fqdn | default(ansible_hostname) }}"
|
|
|
|
|
client_pki_cert: "{{ client_pki_steppath }}/certs/{{ client_pki_nom_cert }}.crt"
|
|
|
|
|
client_pki_cle: "{{ client_pki_steppath }}/certs/{{ client_pki_nom_cert }}.key"
|
|
|
|
|
|
2026-07-02 00:00:10 -04:00
|
|
|
# SANs du certificat (FQDN + nom court + IP). Requis pour un mTLS moderne :
|
|
|
|
|
# les clients TLS valident par le SAN, pas par le CN.
|
|
|
|
|
client_pki_sans:
|
|
|
|
|
- "{{ client_pki_nom_cert }}"
|
|
|
|
|
- "{{ ansible_hostname | default('') }}"
|
|
|
|
|
- "{{ ansible_host | default('') }}"
|
|
|
|
|
|
2026-06-24 20:17:46 -04:00
|
|
|
# Secrets OBLIGATOIRES (Ansible Vault).
|
2026-07-01 21:29:18 -04:00
|
|
|
client_pki_ca_fingerprint: "{{ vault_step_ca_fingerprint | default('') }}" # rempli depuis la voute (vault_step_ca_fingerprint)
|
|
|
|
|
client_pki_provisioner_password: "{{ vault_step_ca_provisioner_password | default('') }}" # rempli depuis la voute (vault_step_ca_provisioner_password)
|
2026-06-24 20:17:46 -04:00
|
|
|
|
|
|
|
|
# Depot apt officiel Smallstep (partage avec serveur_step_ca).
|
|
|
|
|
client_pki_depot_cle_url: "https://packages.smallstep.com/keys/apt/repo-signing-key.gpg"
|
|
|
|
|
client_pki_depot_cle_fichier: "/etc/apt/keyrings/smallstep.asc"
|
|
|
|
|
client_pki_depot_uri: "https://packages.smallstep.com/stable/debian"
|
|
|
|
|
client_pki_depot_suite: "debs"
|
2026-07-04 17:18:13 -04:00
|
|
|
|
|
|
|
|
# Services a recharger apres un renouvellement de cert : les VRAIS consommateurs
|
|
|
|
|
# (nginx sur l'edge, postfix/dovecot sur le mail, slapd sur l'annuaire). Sans ca,
|
|
|
|
|
# le cert est renouvele sur disque mais le service sert l'ancien jusqu'a un reload.
|
|
|
|
|
client_pki_reload_services: []
|