Skip to content
Snippets Groups Projects
Commit f1f78941 authored by Bob Mottram's avatar Bob Mottram
Browse files

Don't quote extensions

parent 978f8483
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment