Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions acme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2668,10 +2668,10 @@ _starttlsserver() {

_debug Le_Listen_V4 "$Le_Listen_V4"
_debug Le_Listen_V6 "$Le_Listen_V6"
if [ "$Le_Listen_V4" ]; then
__S_OPENSSL="$__S_OPENSSL -4"
elif [ "$Le_Listen_V6" ]; then
if [ "$Le_Listen_V6" ]; then
__S_OPENSSL="$__S_OPENSSL -6"
elif [ "$Le_Listen_V4" ]; then
__S_OPENSSL="$__S_OPENSSL -4"
fi

if [ "$acmeValidationv1" ]; then
Expand Down Expand Up @@ -5372,12 +5372,12 @@ $_authorizations_map"
_clearaccountconf "HTTPS_INSECURE"
fi

if [ "$Le_Listen_V4" ]; then
_savedomainconf "Le_Listen_V4" "$Le_Listen_V4"
_cleardomainconf Le_Listen_V6
elif [ "$Le_Listen_V6" ]; then
if [ "$Le_Listen_V6" ]; then
_savedomainconf "Le_Listen_V6" "$Le_Listen_V6"
_cleardomainconf Le_Listen_V4
elif [ "$Le_Listen_V4" ]; then
_savedomainconf "Le_Listen_V4" "$Le_Listen_V4"
_cleardomainconf Le_Listen_V6
fi

if [ "$Le_ForceNewDomainKey" = "1" ]; then
Expand Down Expand Up @@ -7888,10 +7888,14 @@ _process() {
--listen-v4)
_listen_v4="1"
Le_Listen_V4="$_listen_v4"
_listen_v6=""
Le_Listen_V6=""
;;
--listen-v6)
_listen_v6="1"
Le_Listen_V6="$_listen_v6"
_listen_v4=""
Le_Listen_V4=""
;;
--openssl-bin)
_openssl_bin="$2"
Expand Down