evoacme: reinit ssl conf when overwrite csr and key
This commit is contained in:
parent
8aadec03c1
commit
0883102747
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue