|
|
@ -2678,10 +2678,10 @@ _starttlsserver() { |
|
|
|
|
|
|
|
|
_debug Le_Listen_V4 "$Le_Listen_V4" |
|
|
_debug Le_Listen_V4 "$Le_Listen_V4" |
|
|
_debug Le_Listen_V6 "$Le_Listen_V6" |
|
|
_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" |
|
|
__S_OPENSSL="$__S_OPENSSL -6" |
|
|
|
|
|
elif [ "$Le_Listen_V4" ]; then |
|
|
|
|
|
__S_OPENSSL="$__S_OPENSSL -4" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [ "$acmeValidationv1" ]; then |
|
|
if [ "$acmeValidationv1" ]; then |
|
|
@ -5382,12 +5382,12 @@ $_authorizations_map" |
|
|
_clearaccountconf "HTTPS_INSECURE" |
|
|
_clearaccountconf "HTTPS_INSECURE" |
|
|
fi |
|
|
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" |
|
|
_savedomainconf "Le_Listen_V6" "$Le_Listen_V6" |
|
|
_cleardomainconf Le_Listen_V4 |
|
|
_cleardomainconf Le_Listen_V4 |
|
|
|
|
|
elif [ "$Le_Listen_V4" ]; then |
|
|
|
|
|
_savedomainconf "Le_Listen_V4" "$Le_Listen_V4" |
|
|
|
|
|
_cleardomainconf Le_Listen_V6 |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [ "$Le_ForceNewDomainKey" = "1" ]; then |
|
|
if [ "$Le_ForceNewDomainKey" = "1" ]; then |
|
|
@ -7932,10 +7932,14 @@ _process() { |
|
|
--listen-v4) |
|
|
--listen-v4) |
|
|
_listen_v4="1" |
|
|
_listen_v4="1" |
|
|
Le_Listen_V4="$_listen_v4" |
|
|
Le_Listen_V4="$_listen_v4" |
|
|
|
|
|
_listen_v6="" |
|
|
|
|
|
Le_Listen_V6="" |
|
|
;; |
|
|
;; |
|
|
--listen-v6) |
|
|
--listen-v6) |
|
|
_listen_v6="1" |
|
|
_listen_v6="1" |
|
|
Le_Listen_V6="$_listen_v6" |
|
|
Le_Listen_V6="$_listen_v6" |
|
|
|
|
|
_listen_v4="" |
|
|
|
|
|
Le_Listen_V4="" |
|
|
;; |
|
|
;; |
|
|
--openssl-bin) |
|
|
--openssl-bin) |
|
|
_openssl_bin="$2" |
|
|
_openssl_bin="$2" |
|
|
|