]> granicus.if.org Git - icinga2/commitdiff
Use openssl-quiet.cnf for icinga2-build-ca
authorGunnar Beutner <gunnar.beutner@netways.de>
Wed, 2 Jul 2014 08:21:21 +0000 (10:21 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Wed, 2 Jul 2014 08:21:21 +0000 (10:21 +0200)
fixes #6620

pki/icinga2-build-ca.cmake

index 1fdea699d315fbc4c80a9828d616556948521895..af06ca0b0dbd77f02c9a103f464ee8d5a07e0511 100644 (file)
@@ -18,6 +18,6 @@ touch $ICINGA_CA/index.txt
 cp $ICINGA2PKIDIR/vars $ICINGA_CA/
 . $ICINGA_CA/vars
 
-KEY_DIR=$ICINGA_CA openssl req -config $ICINGA2PKIDIR/openssl.cnf -new -newkey rsa:4096 -x509 -days 3650 -keyform PEM -keyout $ICINGA_CA/ca.key -outform PEM -out $ICINGA_CA/ca.crt && \
+KEY_DIR=$ICINGA_CA openssl req -config $ICINGA2PKIDIR/openssl-quiet.cnf -new -newkey rsa:4096 -x509 -days 3650 -keyform PEM -keyout $ICINGA_CA/ca.key -outform PEM -out $ICINGA_CA/ca.crt && \
        chmod 600 $ICINGA_CA/ca.key && \
        echo -e "\n\tIf you want to change the default settings for server certificates check out \"$ICINGA_CA/vars\".\n"