ansible-role-generate-tls-c.../templates/server-cert-extfile.cnf.j2

4 lines
227 B
Django/Jinja

subjectAltName = DNS:{{inventory_hostname}},DNS:{{inventory_hostname_short}},IP:{{(alt_interface_ip is defined) | ternary(alt_interface_ip, ansible_default_ipv4.address)}},IP:0.0.0.0,IP:127.0.0.1
extendedKeyUsage = serverAuth