summaryrefslogtreecommitdiffstats
path: root/test/certs
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-06-12 22:21:54 -0400
committerRich Salz <rsalz@openssl.org>2016-06-13 09:18:22 -0400
commita7be5759cf9d8e2bf7c1ecd0efa2d53aae9ab706 (patch)
treead030fac8b3b0582d0dd76e16dfe5cd2158ba5e0 /test/certs
parent7d6284057b66458f6c99bd65ba67377d63411090 (diff)
RT3809: basicConstraints is critical
This is really a security bugfix, not enhancement any more. Everyone knows critical extensions. Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'test/certs')
-rwxr-xr-xtest/certs/mkcert.sh4
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")