| Index: net/data/ssl/scripts/generate-cross-signed-certs.sh
|
| diff --git a/net/data/ssl/scripts/generate-cross-signed-certs.sh b/net/data/ssl/scripts/generate-cross-signed-certs.sh
|
| index f5a7024911f928c36f3665c32b83e1e531db4178..23d20e2973e38e877563567d65ff42294442580a 100755
|
| --- a/net/data/ssl/scripts/generate-cross-signed-certs.sh
|
| +++ b/net/data/ssl/scripts/generate-cross-signed-certs.sh
|
| @@ -19,12 +19,7 @@
|
| # MD5root, or leaf -> MD5root -> SHA256root
|
|
|
| try() {
|
| - echo "$@"
|
| - "$@" || exit 1
|
| -}
|
| -
|
| -quiet_try() {
|
| - "$@" || exit 1
|
| + "$@" || (e=$?; echo "$@" > /dev/stderr; exit $e)
|
| }
|
|
|
| try rm -rf out
|
| @@ -85,9 +80,9 @@ CA_COMMON_NAME="Test Dup-Hash Root CA" \
|
| -out out/ok_cert.pem \
|
| -config ca.cnf
|
|
|
| -quiet_try openssl x509 -text \
|
| +try openssl x509 -text \
|
| -in out/2048-md5-root.pem > ../certificates/cross-signed-root-md5.pem
|
| -quiet_try openssl x509 -text \
|
| +try openssl x509 -text \
|
| -in out/2048-sha256-root.pem > ../certificates/cross-signed-root-sha256.pem
|
| -quiet_try openssl x509 -text \
|
| +try openssl x509 -text \
|
| -in out/ok_cert.pem > ../certificates/cross-signed-leaf.pem
|
|
|