Forum OpenACS Development: Re: letsencrypt error on renew
: key "host" not known in dictionary
: while executing
: "dict get $li host"
: (procedure "security::configured_driver_info" line 17)
I would recommend to either upgrade or to replace security::configured_driver_info with the actual version  or better to upgrade to the version in the oacs-5-10 branch.
Port Forwarding 80,443 to Internal server with internal ip listening on 8070/8073
If I understand correctly, this forwards to different ports on the same host.... and probably, 8070 and 8073 and accessible from the outside. ... and for this reason, you have set
ACS Tcl Library Instance Parameters: SupressHttpPort 1
I see here two main problem areas: (a) letsencrypt.tcl is a pure NaviServer module, it does not know about OpenACS and its package parameters and (b) letsencrypt accesses the server via plain HTTP ("/YOUR_DOMAIN/.well-known/acme-challenge/TOKEN") to retrieve the challenge, ... and does not accept redirects.
So, when OpenACS forces redirects to https, then there is a problem. I wonder, how this worked before on your setup. Maybe the latter point has changed between ACME v1 and v2.
I see two options: implement a high-priority filter in the NaviServer letsencrypt module, that allow temporarily plain HTTP access to .well-known/acme-challenge, or to modify the OpenACS filter, to let these requests through without https redirects. Not sure yet, what's better.
Would you also agree with the analysis with your understanding from your setup?
Many thanks for the good feedback, and congratulations to get it working.