Hey again. By the way you should consider reworking the code . I uses old formatting that is not cool for python3.12
example
New code: Line 722 acme_v2.py
for token, acme_key in self._nginx_cache_file_auth[auth_to]:
tmp_data.append(
f'if ($request_uri ~ "^/.well-known/acme-challenge/{token}.*")'
f' return 200 {acme_key}')#.format(token, acme_key))
Old code:
for token, acme_key in self._nginx_cache_file_auth[auth_to]:
tmp_data.append((
'if ($request_uri ~ "^/\.well-known/acme-challenge/{}.*"){{\n'
' return 200 "{}";\n'
'}}\n'
).format(token, acme_key))
Same file line 929 to line 931
Consider using raw strings instead of nothing
New code:
elif error.find("domains in the last 168 hours") != -1 and error.find("Error creating new order") != -1: 929 return public.get_msg_gettext("Issuance failed, the root domain name of domain name %s exceeds the maximum weekly issuanc e limit!" % re.findall(r"hours:\s+(.+?),", error))
Old code "hours:\s+(.+?),", error)) WIthout the r""
Errors that I posted before gone away but still it does not detect ssl that has 23 days until expiration and doesnt renew it