Browse Source

allow to set keyUsage and extendedKeyUsage cert params

Change-Id: I1eaa9cf7a7f861cc5de604e03fba8a74436d99ad
pull/35/head
Tomáš Kukrál 7 years ago
parent
commit
bb122162f2
No account linked to committer's email address
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      salt/minion/cert.sls

+ 6
- 0
salt/minion/cert.sls View File

{%- if cert.alternative_names is defined %} {%- if cert.alternative_names is defined %}
- subjectAltName: "{{ cert.alternative_names }}" - subjectAltName: "{{ cert.alternative_names }}"
{%- endif %} {%- endif %}
{%- if cert.extended_key_usage is defined %}
- extendedKeyUsage: "{{ cert.extended_key_usage }}"
{%- endif %}
{%- if cert.key_usage is defined %}
- keyUsage: "{{ cert.key_usage }}"
{%- endif %}
- days_remaining: 30 - days_remaining: 30
- backup: True - backup: True
- watch: - watch:

Loading…
Cancel
Save