I can't connect to let's encrypt api in linux based machines while windows machine on same network does it correctly

[[ 2 -eq 2 ]]
I set API=2 in config, but putting it on auto returns same value.

INFO: Using main config file /opt/dehydrated/config

Dehydrated by Lukas Schauer
https://dehydrated.io

Dehydrated version: 0.6.6
GIT-Revision: unknown

OS: FreeBSD 11.3-RELEASE-p11
Used software:
bash: 5.0.17(0)-release
curl: 7.71.0
awk, sed, mktemp, grep, diff: BSD base system versions
openssl: OpenSSL 1.0.2s-freebsd 28 May 2019

also the last part looks like this:

++ printf %s '["keyChange"] "https://acme-staging-v02.api.letsencrypt.org/acme/key-change"
["meta","caaIdentities",0] "letsencrypt.org"
["meta","caaIdentities"] ["letsencrypt.org"]
["meta","termsOfService"] "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"
["meta","website"] "Staging Environment - Let's Encrypt"
["meta"] {"caaIdentities":["letsencrypt.org"],"termsOfService":"https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf","website":"https://letsencrypt.org/docs/staging-environment/"}
["newAccount"] "https://acme-staging-v02.api.letsencrypt.org/acme/new-acct"
["newNonce"] "https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce"
["newOrder"] "https://acme-staging-v02.api.letsencrypt.org/acme/new-order"
["orL971nJOwU"] "Adding random entries to the directory"
["revokeCert"] "https://acme-staging-v02.api.letsencrypt.org/acme/revoke-cert"'
++ get_json_string_value newAccount
++ local filter
++++ json_path newAccount ''
++++ '[' '!' newAccount = -p ']'
++++ printf '"%s"' newAccount
+++ printf 's/.[%s]\s"([^"])"/\1/p' '"newAccount"'
++ filter='s/.
["newAccount"]\s*"([^"])"/\1/p'
++ sed -n 's/.
["newAccount"]\s*"([^"]*)"/\1/p'

  • CA_NEW_ACCOUNT=

I see the CA_ACCOUNT is empty, so the json data is incorrectly parsed?