We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75455d7 commit 0fa71caCopy full SHA for 0fa71ca
bin/v-add-letsencrypt-host
@@ -67,7 +67,7 @@ add_ssl="yes"
67
if [ "$SSL" = "yes" ]; then
68
# Valildate SSL Certificate
69
if [ -e "$USER_DATA/ssl/$domain.ca" ]; then
70
- if openssl verify -CAfile $USER_DATA/ssl/$domain.ca $USER_DATA/ssl/$domain.pem | grep -q "$domain.pem: OK"; then
+ if openssl verify -CAfile <(openssl x509 -in $USER_DATA/ssl/$domain.ca) $USER_DATA/ssl/$domain.pem | grep -q "$domain.pem: OK"; then
71
add_ssl="no"
72
fi
73
else
0 commit comments