cloudflare / cloudflare/cfssl

policy violation error when creating intermediate CA with profile intermediate

Open
#657 18 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
9.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

From #652, when issuing the cli command:

`cfssl sign -ca ca.pem -ca-key ca-key.pem -profile intermediate -config config.json intermediate.csr | cfssljson -bare intermediate`

Still results in the same error "local signer policy disallows issuing CA certificate"

**intermediate config json**

```
{
"signing": {
"default": {
"expiry": 43800h"
},
"profiles": {
"intermediate": {
"usages": [
"signing",
"key encipherment",
"cert sign",
"crl sign"
],
"expiry": "43800h",
"ca_constraint": {
"is_ca": true,
"max_path_len": 0,
"max_path_len_zero": true
}
}
}
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.