瀏覽代碼

allow to set keyUsage and extendedKeyUsage cert params

Change-Id: I1eaa9cf7a7f861cc5de604e03fba8a74436d99ad
pull/35/head
Tomáš Kukrál 8 年之前
父節點
當前提交
bb122162f2
沒有連結到貢獻者的電子郵件帳戶。
共有 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…
取消
儲存