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.
2 parents 75455d7 + 0fa71ca commit df86662Copy full SHA for df86662
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