/scripts/alcasar-CA.sh |
---|
28,6 → 28,7 |
ORGANIZATION="ALCASAR-Team" |
mkdir $DIR_TMP || exit 1 |
[ -d $DIR_PKI/CA/private ] || mkdir -p $DIR_PKI/CA/private ; chown -R root:apache $DIR_PKI/CA ; chmod -R 750 $DIR_PKI/CA |
# dynamic conf file for openssl |
cat <<EOF >$DIR_TMP/ssl.conf |
RANDFILE = $HOME/.rnd |
234,6 → 235,6 |
rm -rf $DIR_TMP |
exit 0 |
else |
echo "Problème lors de la création des certificats (cf. $DIR_TMP/openssl-log)" >> $FIC_PARAM |
echo "An error occured when generating security certificates (see : $DIR_TMP/openssl-log)" |
exit 1 |
fi |