evoacme: reinit ssl conf when overwrite csr and key

This commit is contained in:
Victor LABORIE 2017-05-10 11:28:53 +02:00
parent 8aadec03c1
commit 0883102747

View file

@ -25,6 +25,8 @@ if [ -f $SSL_KEY_DIR/${vhost}.key ]; then
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
exit 1
fi
rm -f /etc/apache2/ssl/${vhost}.conf
rm -f /etc/nginx/ssl/${vhost}.conf
fi
SSL_KEY_SIZE=$(grep default_bits /etc/letsencrypt/openssl.cnf|cut -d'=' -f2|xargs)