summaryrefslogtreecommitdiffstats
path: root/net/data/ssl
diff options
context:
space:
mode:
Diffstat (limited to 'net/data/ssl')
-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