summaryrefslogtreecommitdiffstats
path: root/net/data
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-04 02:31:16 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-04 02:31:16 +0000
commitd62db2508890d064f584d585fb87c20efe85e14f (patch)
treeb541c001c8072f4ee7557e3f3f2d6bcf6c35aa26 /net/data
parentb5c53f634287096fb3aa2a368591caf4a7cd4809 (diff)
downloadchromium_src-d62db2508890d064f584d585fb87c20efe85e14f.zip
chromium_src-d62db2508890d064f584d585fb87c20efe85e14f.tar.gz
chromium_src-d62db2508890d064f584d585fb87c20efe85e14f.tar.bz2
test-cert generation scripts: Fix root certs that weren't getting extensions added.
BUG=none R=rsleevi@chromium.org Review URL: https://codereview.chromium.org/147723003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248667 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/data')
-rwxr-xr-xnet/data/ssl/scripts/generate-bad-eku-certs.sh1
-rwxr-xr-xnet/data/ssl/scripts/generate-client-certificates.sh1
-rwxr-xr-xnet/data/ssl/scripts/generate-redundant-test-chains.sh2
-rwxr-xr-xnet/data/ssl/scripts/generate-weak-test-chains.sh1
4 files changed, 5 insertions, 0 deletions
diff --git a/net/data/ssl/scripts/generate-bad-eku-certs.sh b/net/data/ssl/scripts/generate-bad-eku-certs.sh
index f2f49a2..5335b84 100755
--- a/net/data/ssl/scripts/generate-bad-eku-certs.sh
+++ b/net/data/ssl/scripts/generate-bad-eku-certs.sh
@@ -48,6 +48,7 @@ CA_COMMON_NAME="2048 RSA Test Root CA" \
-req -days 3650 \
-in "out/$eku_test_root.csr" \
-extensions ca_cert \
+ -extfile ca.cnf \
-signkey "out/$eku_test_root.key" \
-out "out/$eku_test_root.pem" \
-text
diff --git a/net/data/ssl/scripts/generate-client-certificates.sh b/net/data/ssl/scripts/generate-client-certificates.sh
index 16321ab..7dce623 100755
--- a/net/data/ssl/scripts/generate-client-certificates.sh
+++ b/net/data/ssl/scripts/generate-client-certificates.sh
@@ -60,6 +60,7 @@ COMMON_NAME="C Root CA" \
-req -days 3650 \
-in out/C.csr \
-extensions ca_cert \
+ -extfile client-certs.cnf \
-signkey out/C.key \
-out out/C.pem
diff --git a/net/data/ssl/scripts/generate-redundant-test-chains.sh b/net/data/ssl/scripts/generate-redundant-test-chains.sh
index e15a02a..d7fd17b 100755
--- a/net/data/ssl/scripts/generate-redundant-test-chains.sh
+++ b/net/data/ssl/scripts/generate-redundant-test-chains.sh
@@ -56,6 +56,7 @@ CA_COMMON_NAME="D Root CA" \
-req -days 3650 \
-in out/D.csr \
-extensions ca_cert \
+ -extfile redundant-ca.cnf \
-signkey out/D.key \
-out out/D.pem \
-text
@@ -75,6 +76,7 @@ CA_COMMON_NAME="C CA" \
-req -days 3650 \
-in out/C2.csr \
-extensions ca_cert \
+ -extfile redundant-ca.cnf \
-signkey out/C.key \
-out out/C2.pem \
-text
diff --git a/net/data/ssl/scripts/generate-weak-test-chains.sh b/net/data/ssl/scripts/generate-weak-test-chains.sh
index 5b7a3fc..3bf239c 100755
--- a/net/data/ssl/scripts/generate-weak-test-chains.sh
+++ b/net/data/ssl/scripts/generate-weak-test-chains.sh
@@ -63,6 +63,7 @@ CA_COMMON_NAME="2048 RSA Test Root CA" \
-req -days 3650 \
-in out/2048-rsa-root.csr \
-extensions ca_cert \
+ -extfile ca.cnf \
-signkey out/2048-rsa-root.key \
-out out/2048-rsa-root.pem \
-text