Quellcode durchsuchen

Name escaping

tags/2016.12
Ales Komarek vor 8 Jahren
Ursprung
Commit
93663473d0
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. +1
    -1
      salt/minion/ca.sls
  2. +2
    -2
      salt/minion/cert.sls

+ 1
- 1
salt/minion/ca.sls Datei anzeigen

@@ -29,7 +29,7 @@ include:
/etc/pki/ca/{{ ca_name }}/ca.crt:
x509.certificate_managed:
- signing_private_key: /etc/pki/ca/{{ ca_name }}/ca.key
- CN: {{ ca.common_name }}
- CN: "{{ ca.common_name }}"
{%- if ca.country is defined %}
- C: {{ ca.country }}
{%- endif %}

+ 2
- 2
salt/minion/cert.sls Datei anzeigen

@@ -43,9 +43,9 @@ salt_minion_cert_{{ cert_name }}_dirs:
- ca_server: {{ cert.host }}
- signing_policy: {{ cert.authority }}_{{ cert.signing_policy }}
- public_key: {{ key_file }}
- CN: {{ cert.common_name }}
- CN: "{{ cert.common_name }}"
{%- if cert.alternative_names is defined %}
- subjectAltName: {{ cert.alternative_names }}
- subjectAltName: "{{ cert.alternative_names }}"
{%- endif %}
- days_remaining: 30
- backup: True

Laden…
Abbrechen
Speichern