AttributeError: can't set attribute (Docker)

My domain is: "fmtm.localhost"

I ran this command: "certbot --non-interactive certonly --webroot --webroot-path=/var/www/certbot --email --agree-tos --no-eff-email -d fmtm.localhost -d api.fmtm.localhost -d odk.fmtm.localhost -d s3.fmtm.localhost"
(Docker container)

It produced this output: "An unexpected error occurred:
certbot-1 | AttributeError: can't set attribute"

My web server is (include version): nginx

The operating system my web server runs on is (include version): Fedora 40

My hosting provider, if applicable, is:

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): not yet

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): don't know

So, I'm trying to help in a OSS project that uses a Docker container with certbot.

I'm getting this error when trying to run the project: "An unexpected error occurred: certbot-1 | AttributeError: can't set attribute".

Any help?
Thanks!

A couple things.

One, that "can't set attribute" might be a bug in Certbot which has been fixed. Certain versions (I think between 2.0 and 2.2) might issue that error. But, only when there was some other error first.

And, I think the original error is probably because of your domain: fmtm.localhost

Let's Encrypt can only issue certs for domain names that exist in the public DNS system. Perhaps this topic helps

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.