summaryrefslogtreecommitdiffstats
path: root/ipaclient/csrgen/rules/syntaxSAN.json
diff options
context:
space:
mode:
Diffstat (limited to 'ipaclient/csrgen/rules/syntaxSAN.json')
-rw-r--r--ipaclient/csrgen/rules/syntaxSAN.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/ipaclient/csrgen/rules/syntaxSAN.json b/ipaclient/csrgen/rules/syntaxSAN.json
new file mode 100644
index 000000000..122eb1244
--- /dev/null
+++ b/ipaclient/csrgen/rules/syntaxSAN.json
@@ -0,0 +1,15 @@
+{
+ "rules": [
+ {
+ "helper": "openssl",
+ "template": "subjectAltName = @{% call openssl.section() %}{{ datarules|join('\n') }}{% endcall %}",
+ "options": {
+ "extension": true
+ }
+ },
+ {
+ "helper": "certutil",
+ "template": "--extSAN {{ datarules|join(',') }}"
+ }
+ ]
+}