Skip to content

Commit 0fa71ca

Browse files
committed
hestiacp#2195 Fix v-add-letsencrypt-host error
discourse/discourse_docker@8e2ccee Prevent HESTIA requesting touching rate limit
1 parent 75455d7 commit 0fa71ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-letsencrypt-host

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ add_ssl="yes"
6767
if [ "$SSL" = "yes" ]; then
6868
# Valildate SSL Certificate
6969
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
70+
if openssl verify -CAfile <(openssl x509 -in $USER_DATA/ssl/$domain.ca) $USER_DATA/ssl/$domain.pem | grep -q "$domain.pem: OK"; then
7171
add_ssl="no"
7272
fi
7373
else

0 commit comments

Comments
 (0)