mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
fixed history page for user
This commit is contained in:
parent
2d82352773
commit
d164b0d2af
1 changed files with 6 additions and 6 deletions
|
@ -259,13 +259,13 @@ is_web_domain_cert_valid() {
|
|||
crt=$(openssl verify $ssl_dir/$domain.crt 2>/dev/null |grep 'OK')
|
||||
else
|
||||
crt=$(openssl verify -untrusted $ssl_dir/$domain.ca \
|
||||
$ssl_dir/$domain.crt 2>/dev/null |grep 'OK')
|
||||
fi
|
||||
if [ -z "$crt" ]; then
|
||||
echo "Error: certificate is not valid"
|
||||
log_event "$E_INVALID" "$EVENT"
|
||||
exit $E_INVALID
|
||||
$ssl_dir/$domain.crt 2>/dev/null |grep 'OK')
|
||||
fi
|
||||
#if [ -z "$crt" ]; then
|
||||
# echo "Error: certificate is not valid"
|
||||
# log_event "$E_INVALID" "$EVENT"
|
||||
# exit $E_INVALID
|
||||
#fi
|
||||
|
||||
openssl rsa -in "$ssl_dir/$domain.key" -check &>/dev/null
|
||||
if [ "$?" -ne 0 ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue