diff options
Diffstat (limited to 'test/certs')
-rwxr-xr-x | test/certs/mkcert.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/certs/mkcert.sh b/test/certs/mkcert.sh index ec2e374038..daa0679ee8 100755 --- a/test/certs/mkcert.sh +++ b/test/certs/mkcert.sh @@ -88,7 +88,7 @@ genroot() { local skid="subjectKeyIdentifier = hash" local akid="authorityKeyIdentifier = keyid" - exts=$(printf "%s\n%s\n%s\n" "$skid" "$akid" "basicConstraints = CA:true") + exts=$(printf "%s\n%s\n%s\n" "$skid" "$akid" "basicConstraints = critical,CA:true") for eku in "$@" do exts=$(printf "%s\nextendedKeyUsage = %s\n" "$exts" "$eku") @@ -107,7 +107,7 @@ genca() { local skid="subjectKeyIdentifier = hash" local akid="authorityKeyIdentifier = keyid" - exts=$(printf "%s\n%s\n%s\n" "$skid" "$akid" "basicConstraints = CA:true") + exts=$(printf "%s\n%s\n%s\n" "$skid" "$akid" "basicConstraints = critical,CA:true") for eku in "$@" do exts=$(printf "%s\nextendedKeyUsage = %s\n" "$exts" "$eku") |