You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
276 B
Smarty
10 lines
276 B
Smarty
3 years ago
|
{
|
||
|
"subject": 1,
|
||
|
"sans": {{ toJson .SANs }},
|
||
|
{{- if typeIs "*rsa.PublicKey" .Insecure.CR.PublicKey }}
|
||
|
"keyUsage": ["keyEncipherment", "digitalSignature"],
|
||
|
{{- else }}
|
||
|
"keyUsage": ["digitalSignature"],
|
||
|
{{- end }}
|
||
|
"extKeyUsage": ["serverAuth", "clientAuth"]
|
||
|
}
|