Skip to content

sign-req ca does not honour user set critical flag in "ca" type if --subca-len provided #691

@dekeonus

Description

@dekeonus

in this code

easy-rsa/easyrsa3/easyrsa

Lines 1701 to 1703 in d99bef6

# Support a dynamic CA path length when present:
[ "$crt_type" = "ca" ] && [ "$EASYRSA_SUBCA_LEN" ] && \
print "basicConstraints = CA:TRUE, pathlen:$EASYRSA_SUBCA_LEN"

A basicConstraints line is appended to the generation of the temporary extensions file, overriding whatever line is currently in the ca x509-type file.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions