mirror of
https://github.com/smallstep/certificates.git
synced 2024-11-09 13:10:36 +00:00
10 lines
276 B
Smarty
10 lines
276 B
Smarty
|
{
|
||
|
"subject": 1,
|
||
|
"sans": {{ toJson .SANs }},
|
||
|
{{- if typeIs "*rsa.PublicKey" .Insecure.CR.PublicKey }}
|
||
|
"keyUsage": ["keyEncipherment", "digitalSignature"],
|
||
|
{{- else }}
|
||
|
"keyUsage": ["digitalSignature"],
|
||
|
{{- end }}
|
||
|
"extKeyUsage": ["serverAuth", "clientAuth"]
|
||
|
}
|