summaryrefslogtreecommitdiffstats
path: root/net/data/ssl/scripts/generate-test-certs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/data/ssl/scripts/generate-test-certs.sh')
-rwxr-xr-xnet/data/ssl/scripts/generate-test-certs.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/data/ssl/scripts/generate-test-certs.sh b/net/data/ssl/scripts/generate-test-certs.sh
index 4c13bce..b00d7cd 100755
--- a/net/data/ssl/scripts/generate-test-certs.sh
+++ b/net/data/ssl/scripts/generate-test-certs.sh
@@ -72,10 +72,10 @@ CA_COMMON_NAME="Test Root CA" \
-out out/ok_cert.pem \
-config ca.cnf
-cat out/ok_cert.key out/ok_cert.pem \
- > ../certificates/ok_cert.pem
-cat out/expired_cert.key out/expired_cert.pem \
- > ../certificates/expired_cert.pem
-cat out/2048-sha1-root.key out/2048-sha1-root.pem \
- > ../certificates/root_ca_cert.pem
+try /bin/sh -c "cat out/ok_cert.key out/ok_cert.pem \
+ > ../certificates/ok_cert.pem"
+try /bin/sh -c "cat out/expired_cert.key out/expired_cert.pem \
+ > ../certificates/expired_cert.pem"
+try /bin/sh -c "cat out/2048-sha1-root.key out/2048-sha1-root.pem \
+ > ../certificates/root_ca_cert.pem"