You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
775B

  1. {{ ansible_managed | comment }}
  2. [req]
  3. distinguished_name = req_distinguished_name
  4. req_extensions = certificate_extensions
  5. prompt = no
  6. [req_distinguished_name]
  7. {% if certificate_country is defined%}
  8. C = {{ certificate_country }}
  9. {% endif %}
  10. {% if certificate_state is defined%}
  11. ST = {{certificate_state}}
  12. {% endif %}
  13. {% if certificate_locality is defined%}
  14. L = {{certificate_locality}}
  15. {% endif %}
  16. {% if certificate_organization is defined%}
  17. O = {{certificate_organization}}
  18. {% endif %}
  19. {% if certificate_organizational_unit is defined%}
  20. OU = {{certificate_organizational_unit}}
  21. {% endif %}
  22. CN = {{certificate_common_name}}
  23. {% if certificate_email_address is defined %}
  24. emailAddress = {{certificate_email_address}}
  25. {% endif %}
  26. {% include "certificate_extensions.cnf.j2" %}