From f1f789415e90f81d25d57bcc4a82b3f1c9627738 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 4 Mar 2018 11:38:02 +0000 Subject: [PATCH] Don't quote extensions --- src/freedombone-addcert | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/freedombone-addcert b/src/freedombone-addcert index 5579fb7e..dc16d71a 100755 --- a/src/freedombone-addcert +++ b/src/freedombone-addcert @@ -310,7 +310,8 @@ function add_cert_selfsigned { CERTFILE="ca-$HOSTNAME" fi - openssl req -x509 "${EXTENSIONS}" -nodes -days 3650 -sha256 \ + # shellcheck disable=SC2086 + openssl req -x509 ${EXTENSIONS} -nodes -days 3650 -sha256 \ -subj "/O=$ORGANISATION/OU=$UNIT/C=$COUNTRY_CODE/ST=$AREA/L=$LOCATION/CN=$HOSTNAME" \ -newkey rsa:2048 -keyout "/etc/ssl/private/${CERTFILE}.key" \ -out "/etc/ssl/certs/${CERTFILE}.crt"