Browse Source

Name escaping

tags/2016.12
Ales Komarek 8 years ago
parent
commit
93663473d0
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      salt/minion/ca.sls
  2. +2
    -2
      salt/minion/cert.sls

+ 1
- 1
salt/minion/ca.sls View File

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

+ 2
- 2
salt/minion/cert.sls View File

- ca_server: {{ cert.host }} - ca_server: {{ cert.host }}
- signing_policy: {{ cert.authority }}_{{ cert.signing_policy }} - signing_policy: {{ cert.authority }}_{{ cert.signing_policy }}
- public_key: {{ key_file }} - public_key: {{ key_file }}
- CN: {{ cert.common_name }}
- CN: "{{ cert.common_name }}"
{%- if cert.alternative_names is defined %} {%- if cert.alternative_names is defined %}
- subjectAltName: {{ cert.alternative_names }}
- subjectAltName: "{{ cert.alternative_names }}"
{%- endif %} {%- endif %}
- days_remaining: 30 - days_remaining: 30
- backup: True - backup: True

Loading…
Cancel
Save