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