renamed cert to ssl

This commit is contained in:
Serghey Rodin 2011-11-22 13:52:55 +02:00
commit 8022c261f4
8 changed files with 17 additions and 17 deletions

View file

@ -449,7 +449,7 @@ is_web_domain_key_empty() {
is_web_domain_cert_valid() {
# Checking file existance
path="$V_USERS/$user/cert"
path="$V_USERS/$user/ssl"
if [ ! -e "$path/$ssl.crt" ] || [ ! -e "$path/$ssl.key" ]; then
echo "Error: certificate not exist"
log_event 'debug' "$E_CERT_NOTEXIST $V_EVENT"

View file

@ -1,6 +1,6 @@
is_cert_free() {
# Defining path
user_cert="$V_USERS/$user/cert/$cert"
user_cert="$V_USERS/$user/ssl/$cert"
# Checking file existance
if [ -e "$user_cert.crt" ] || [ -e "$user_cert.key" ]; then