Skip to content

ACME josepy error after update above v2.12.3 #4655

Open
@existful

Description

@existful

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
[7/9/2025] [1:30:05 PM] [Certbot ] › ▶ start Installing cloudflare...
[7/9/2025] [1:30:05 PM] [Global ] › ⬤ debug CMD: . /opt/certbot/bin/activate && pip install --no-cache-dir acme==$(certbot --version | grep -Eo '0-9+') certbot-dns-cloudflare==$(certbot --version | grep -Eo '0-9+') && deactivate
[7/9/2025] [1:30:08 PM] [Certbot ] › ✖ error Traceback (most recent call last):
File "/opt/certbot/bin/certbot", line 5, in
from certbot.main import main
File "/opt/certbot/lib/python3.11/site-packages/certbot/main.py", line 6, in
from certbot._internal import main as internal_main
File "/opt/certbot/lib/python3.11/site-packages/certbot/_internal/main.py", line 24, in
from acme import client as acme_client
File "/opt/certbot/lib/python3.11/site-packages/acme/client.py", line 25, in
from acme import challenges
File "/opt/certbot/lib/python3.11/site-packages/acme/challenges.py", line 24, in
from acme import crypto_util
File "/opt/certbot/lib/python3.11/site-packages/acme/crypto_util.py", line 435, in
def dump_pyopenssl_chain(chain: Union[List[jose.ComparableX509], List[crypto.X509]],
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'josepy' has no attribute 'ComparableX509'. Did you mean: 'ComparableKey'?
Traceback (most recent call last):
File "/opt/certbot/bin/certbot", line 5, in
from certbot.main import main
File "/opt/certbot/lib/python3.11/site-packages/certbot/main.py", line 6, in
from certbot._internal import main as internal_main
File "/opt/certbot/lib/python3.11/site-packages/certbot/_internal/main.py", line 24, in
from acme import client as acme_client
File "/opt/certbot/lib/python3.11/site-packages/acme/client.py", line 25, in
from acme import challenges
File "/opt/certbot/lib/python3.11/site-packages/acme/challenges.py", line 24, in
from acme import crypto_util
File "/opt/certbot/lib/python3.11/site-packages/acme/crypto_util.py", line 435, in
def dump_pyopenssl_chain(chain: Union[List[jose.ComparableX509], List[crypto.X509]],
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'josepy' has no attribute 'ComparableX509'. Did you mean: 'ComparableKey'?
ERROR: Invalid requirement: 'acme==': Expected end or semicolon (after name and no valid version specifier)
acme==
^
[7/9/2025] [1:30:08 PM] [Global ] › ✖ error Some plugins failed to install. Please check the logs above CommandError: Some plugins failed to install. Please check the logs above
at /app/lib/certbot.js:39:14
at Immediate. (/app/node_modules/batchflow/lib/batchflow.js:80:9)
at process.processImmediate (node:internal/timers:483:21) {
previous: undefined,
code: 1,
public: false
}

Nginx Proxy Manager Version
v2.12.5

To Reproduce
Steps to reproduce the behavior:
After update
Unable to update npm to a version above v2.12.3+

Expected behavior
Proper update npm to a version above v2.12.3+

Screenshots
Image

Operating System
Debian 12.11

Additional context
Docker version 28.3.1
Docker Compose version v2.38.1

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