add csr.json

This commit is contained in:
nono 2022-12-21 01:02:09 +01:00
parent 96cea785f8
commit 89312ca93b

6
templates/csr.json.j2 Normal file
View file

@ -0,0 +1,6 @@
{
"CN": {{item.cname | to_json}},
"hosts": {{ (item.sans|default([]) + item.altips|default([]) + item.cname.split(',')) | to_json}},
"key" : {{item.key | default(pki_key) | to_json}},
"names" : {{item.names | default(pki_names) | to_json}}
}