diff --git a/smallapp/unbound-control-setup.sh.in b/smallapp/unbound-control-setup.sh.in index eaf1d082c..90af77b38 100644 --- a/smallapp/unbound-control-setup.sh.in +++ b/smallapp/unbound-control-setup.sh.in @@ -104,6 +104,10 @@ while getopts 'd:hr' arg; do done shift $((OPTIND - 1)) +if ! command -v openssl >/dev/null; then + echo "$0 requires openssl package to be installed to generate the keys." >&2 + exit 1 +fi echo "setup in directory $DESTDIR" cd "$DESTDIR"