Skip to content

Unable to add any SSL certificate #2420

@andrewhaji

Description

@andrewhaji

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug

I am having issues with creating SSL certificates. Both HTTP and DNS certificates cannot be created despite the server being reachable. I am receiving the following error no matter what kind of certificate I try to generate:

Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-15" --agree-tos --authenticator webroot --email "MYEMAIL" --preferred-challenges "dns,http" --domains "THE.DOMAIN" 
An unexpected error occurred:
AttributeError: module 'certbot.interfaces' has no attribute 'IAuthenticator'
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-3c90t_tk/log or re-run Certbot with -v for more details.

    at ChildProcess.exithandler (node:child_process:402:12)
    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)

Nginx Proxy Manager Version

2.9.19

To Reproduce
Steps to reproduce the behavior:
Go to SSL Certificates
Add SSL Certificate
Type in domain, agree to terms, and click Save
Error is displayed

Expected behavior

It should be generating the SSL certificate

Screenshots

Operating System

Using docker latest image running on Ubuntu 22.04

Additional context

What's strange is that certificate generation works on ONE of my installs running 2.9.19, but THREE other installs all fail. They have all been able to generate SSL certificates in the past. Never been an issue until now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions