Imported Upstream version 4.7.2
This commit is contained in:
8
ipaclient/csrgen/rules/dataDNS.json
Normal file
8
ipaclient/csrgen/rules/dataDNS.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"rule": {
|
||||
"template": "DNS = {{subject.krbprincipalname.0.partition('/')[2].partition('@')[0]}}"
|
||||
},
|
||||
"options": {
|
||||
"data_source": "subject.krbprincipalname.0.partition('/')[2].partition('@')[0]"
|
||||
}
|
||||
}
|
||||
8
ipaclient/csrgen/rules/dataEmail.json
Normal file
8
ipaclient/csrgen/rules/dataEmail.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"rule": {
|
||||
"template": "email = {{subject.mail.0}}"
|
||||
},
|
||||
"options": {
|
||||
"data_source": "subject.mail.0"
|
||||
}
|
||||
}
|
||||
8
ipaclient/csrgen/rules/dataHostCN.json
Normal file
8
ipaclient/csrgen/rules/dataHostCN.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"rule": {
|
||||
"template": "CN={{subject.krbprincipalname.0.partition('/')[2].partition('@')[0]}}"
|
||||
},
|
||||
"options": {
|
||||
"data_source": "subject.krbprincipalname.0.partition('/')[2].partition('@')[0]"
|
||||
}
|
||||
}
|
||||
8
ipaclient/csrgen/rules/dataSubjectBase.json
Normal file
8
ipaclient/csrgen/rules/dataSubjectBase.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"rule": {
|
||||
"template": "{{config.ipacertificatesubjectbase.0}}"
|
||||
},
|
||||
"options": {
|
||||
"data_source": "config.ipacertificatesubjectbase.0"
|
||||
}
|
||||
}
|
||||
8
ipaclient/csrgen/rules/dataUsernameCN.json
Normal file
8
ipaclient/csrgen/rules/dataUsernameCN.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"rule": {
|
||||
"template": "CN={{subject.uid.0}}"
|
||||
},
|
||||
"options": {
|
||||
"data_source": "subject.uid.0"
|
||||
}
|
||||
}
|
||||
8
ipaclient/csrgen/rules/syntaxSAN.json
Normal file
8
ipaclient/csrgen/rules/syntaxSAN.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"rule": {
|
||||
"template": "subjectAltName = @{% call openssl.section() %}{{ datarules|join('\n') }}{% endcall %}"
|
||||
},
|
||||
"options": {
|
||||
"extension": true
|
||||
}
|
||||
}
|
||||
9
ipaclient/csrgen/rules/syntaxSubject.json
Normal file
9
ipaclient/csrgen/rules/syntaxSubject.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"rule": {
|
||||
"template": "distinguished_name = {% call openssl.section() %}{{ datarules|reverse|join('\n') }}{% endcall %}"
|
||||
},
|
||||
"options": {
|
||||
"required": true,
|
||||
"data_source_combinator": "and"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user