Use openssl-quiet.cnf for icinga2-build-ca

fixes #6620
This commit is contained in:
Gunnar Beutner 2014-07-02 10:21:21 +02:00
parent 65e69fcd37
commit 9b008dd3d1
1 changed files with 1 additions and 1 deletions

View 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"