mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 15:02:03 +00:00
minor, add more debug info
This commit is contained in:
parent
63a195e5cc
commit
331c4bb669
7
acme.sh
7
acme.sh
@ -907,7 +907,12 @@ _starttlsserver() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#start openssl
|
#start openssl
|
||||||
(printf "HTTP/1.1 200 OK\r\n\r\n$content" | openssl s_server -cert "$TLS_CERT" -key "$TLS_KEY" -accept $port >/dev/null 2>&1) &
|
if [ "$DEBUG" ] && [ "$DEBUG" -ge "2" ]
|
||||||
|
(printf "HTTP/1.1 200 OK\r\n\r\n$content" | openssl s_server -cert "$TLS_CERT" -key "$TLS_KEY" -accept $port ) &
|
||||||
|
else
|
||||||
|
(printf "HTTP/1.1 200 OK\r\n\r\n$content" | openssl s_server -cert "$TLS_CERT" -key "$TLS_KEY" -accept $port >/dev/null 2>&1) &
|
||||||
|
fi
|
||||||
|
|
||||||
serverproc="$!"
|
serverproc="$!"
|
||||||
sleep 2
|
sleep 2
|
||||||
_debug serverproc $serverproc
|
_debug serverproc $serverproc
|
||||||
|
Loading…
Reference in New Issue
Block a user