mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
renamed cert to ssl
This commit is contained in:
parent
30d1240682
commit
8022c261f4
8 changed files with 17 additions and 17 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue