mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
fix for keys without alg
This commit is contained in:
parent
c98dcb0285
commit
da0f409a3f
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ is_web_domain_cert_valid() {
|
|||
fi
|
||||
fi
|
||||
|
||||
key_vrf=$(grep 'RSA PRIVATE KEY' $ssl_dir/$domain.key | wc -l)
|
||||
key_vrf=$(grep 'PRIVATE KEY' $ssl_dir/$domain.key | wc -l)
|
||||
if [ "$key_vrf" -ne 2 ]; then
|
||||
echo "Error: ssl key is not valid"
|
||||
log_event "$E_INVALID" "$EVENT"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue