Skip to content
Snippets Groups Projects
Unverified Commit bb4446e9 authored by Antoine Legrand's avatar Antoine Legrand Committed by GitHub
Browse files

Merge pull request #2226 from manics/supplemental-addresses

Enable additional addresses to be added to certificates
parents d2102671 27a1a697
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,10 @@ IP.{{ idx + 1 }} = 127.0.0.1 ...@@ -33,6 +33,10 @@ IP.{{ idx + 1 }} = 127.0.0.1
{% if supplementary_addresses_in_ssl_keys is defined %} {% if supplementary_addresses_in_ssl_keys is defined %}
{% set is = idx + 1 %} {% set is = idx + 1 %}
{% for addr in supplementary_addresses_in_ssl_keys %} {% for addr in supplementary_addresses_in_ssl_keys %}
{% if addr | ipaddr %}
IP.{{ is + loop.index }} = {{ addr }} IP.{{ is + loop.index }} = {{ addr }}
{% else %}
DNS.{{ is + loop.index }} = {{ addr }}
{% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment