From f9153a96f543306e3e5ac874538a8b5354d58d51 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 20 Nov 2013 13:13:35 +0100 Subject: [PATCH] Fix syntax error in icinga2-build-key. Fixes #5110 --- pki/icinga2-build-key.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pki/icinga2-build-key.cmake b/pki/icinga2-build-key.cmake index 44097b3e8..6d0bbdd3f 100644 --- a/pki/icinga2-build-key.cmake +++ b/pki/icinga2-build-key.cmake @@ -23,7 +23,7 @@ fi [ -z "$REQ_STATE" ] && export REQ_STATE="Some-State" [ -z "$REQ_ORGANISATION" ] && export REQ_ORGANISATION="Internet Widgits Pty Ltd" [ -z "$REQ_ORG_UNIT" ] && export REQ_ORG_UNIT="Monitoring" -[ -z "$REQ_COMMON_NAME"] && export REQ_COMMON_NAME="Icinga CA" +[ -z "$REQ_COMMON_NAME" ] && export REQ_COMMON_NAME="Icinga CA" [ -z "$REQ_DAYS" ] && export REQ_DAYS="3650" REQ_COMMON_NAME="$name" KEY_DIR="$ICINGA_CA" openssl req -config $ICINGA2PKIDIR/openssl.cnf -new -newkey rsa:4096 -keyform PEM -keyout $ICINGA_CA/$name.key -outform PEM -out $ICINGA_CA/$name.csr -nodes && \