ansible-roles/library/roles/letsencrypt-acmetool-client/templates/cert-requirements.j2

26 lines
537 B
Django/Jinja

satisfy:
names:
{% for d in letsencrypt_acme_domains %}
- {{ d }}
{% endfor %}
request:
{% if letsencrypt_ocsp_must_staple %}
ocsp-must-staple: true
{% endif %}
challenge:
http-ports:
- {{ letsencrypt_acme_standalone_port }}
key:
type: {{ letsencrypt_acme_key_type }}
{% if letsencrypt_acme_key_type == 'rsa' %}
rsa-size: {{ letsencrypt_acme_rsa_key_size }}
{% else %}
ecdsa-curve: {{ letsencrypt_acme_ecdsa_curve }}
{% endif %}
{% if letsencrypt_specify_key_id %}
id: {{ letsencrypt_key_id }}
{% endif %}