Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: *.tprk.casa
I ran this command: Any certbot command is interrupted by the error pasted below. But for sake of demonstration let's try this one:
sudo certbot certonly --manual -d *.tprk.casa -d tprk.casa \
--email <email@domain.com> --agree-tos \
--preferred-challenges dns-01 \
--server https://acme-v02.api.letsencrypt.org/directory
It produced this output:
An unexpected error occurred:
pkg_resources.DistributionNotFound: The 'zope.interface' distribution was not found and is required by the application
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-fsk_yloe/log or re-run Certbot with -v for more details.
-bash: --email: command not found
-bash: --preferred-challenges: command not found
-bash: --server: command not found
My web server is (include version): NGINX Proxy Manager installed as an LXC in Proxmox with the /app/scripts/install-certbot-plugins script run after setup
The operating system my web server runs on is (include version): Debian 13 (?)
My hosting provider, if applicable, is: (self-hosted on my home network)
I can login to a root shell on my machine (yes or no, or I don't know): YES
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): Proxmox and the Web UI for NGINX Proxy Manager installed as an LXC in Proxmox with the /app/scripts/install-certbot-plugins script run after setup
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
root@nginxproxymanager:~# certbot --version
An unexpected error occurred:
pkg_resources.DistributionNotFound: The 'zope.interface' distribution was not found and is required by the application
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-apck748c/log or re-run Certbot with -v for more details.
Here is the error message received in the NGINX Proxy Manager Web UI:
CommandError: An unexpected error occurred:
pkg_resources.DistributionNotFound: The 'zope.interface' distribution was not found and is required by the application
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-pzclkv2o/log or re-run Certbot with -v for more details.
at /app/lib/utils.js:16:13
at ChildProcess.exithandler (node:child_process:410:5)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1100:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
Here is the contents of /tmp/certbot-log-pzclkv2o/log on the Proxmox LXC:
2025-11-04 11:27:14,690:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 33, in <module>
sys.exit(load_entry_point('certbot==2.1.0', 'console_scripts', 'certbot')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot/_internal/main.py", line 1707, in main
plugins = plugins_disco.PluginsRegistry.find_all()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot/_internal/plugins/disco.py", line 192, in find_all
cls._load_entry_point(entry_point, plugins)
File "/usr/lib/python3/dist-packages/certbot/_internal/plugins/disco.py", line 199, in _load_entry_point
plugin_ep = PluginEntryPoint(entry_point)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot/_internal/plugins/disco.py", line 40, in __init__
self.plugin_cls: Type[interfaces.Plugin] = entry_point.load()
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2467, in load
self.require(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2490, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 815, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 856, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'zope.interface' distribution was not found and is required by the application
2025-11-04 11:27:14,690:ERROR:certbot._internal.log:An unexpected error occurred:
2025-11-04 11:27:14,690:ERROR:certbot._internal.log:pkg_resources.DistributionNotFound: The 'zope.interface' distribution was not found and is required by the application