瀏覽代碼

allow to set keyUsage and extendedKeyUsage cert params

Change-Id: I1eaa9cf7a7f861cc5de604e03fba8a74436d99ad
pull/35/head
Tomáš Kukrál 7 年之前
父節點
當前提交
bb122162f2
No account linked to committer's email address
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. +6
    -0
      salt/minion/cert.sls

+ 6
- 0
salt/minion/cert.sls 查看文件

@@ -50,6 +50,12 @@ salt_minion_cert_{{ cert_name }}_dirs:
{%- if cert.alternative_names is defined %}
- subjectAltName: "{{ cert.alternative_names }}"
{%- 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
- backup: True
- watch:

Loading…
取消
儲存