NginxProxyManager / NginxProxyManager/nginx-proxy-manager

[2.15.0] Certbot error: crypto.X509Extension

Open
#5,606 20 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
34.2k
Forks
3.9k
Avg merge
21h 12m
Merged PRs (30d)
20

Description

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

When trying to renew a certificate or adding a new one with Gandi Live DNS and ECDSA 256 key type, I get an Internal Error.

Nginx Proxy Manager Version

2.15.0

To Reproduce
Steps to reproduce the behavior:

  1. Go to Certificates
  2. Click on Add Certificate
  3. Select ECDSA 256 key type and Gandi Live DNS as provider
  4. Click save
  5. See error

Expected behavior

The certificat is renewed/created

Screenshots

Image

Operating System

Docker on Debian 6.12.41-1

Additional context

[6/1/2026] [7:35:00 AM] [Express  ] › ⚠  warning   Traceback (most recent call last):
  File "/opt/certbot/bin/certbot", line 3, in <module>
    from certbot.main import main
  File "/opt/certbot/lib/python3.13/site-packages/certbot/main.py", line 6, in <module>
    from certbot._internal import main as internal_main
  File "/opt/certbot/lib/python3.13/site-packages/certbot/_internal/main.py", line 23, in <module>
    from acme import client as acme_client
  File "/opt/certbot/lib/python3.13/site-packages/acme/client.py", line 27, in <module>
    from acme import challenges
  File "/opt/certbot/lib/python3.13/site-packages/acme/challenges.py", line 24, in <module>
    from acme import crypto_util
  File "/opt/certbot/lib/python3.13/site-packages/acme/crypto_util.py", line 504, in <module>
    extensions: Optional[List[crypto.X509Extension]] = None,
                              ^^^^^^^^^^^^^^^^^^^^
  File "/opt/certbot/lib/python3.13/site-packages/cryptography/utils.py", line 76, in __getattr__
    obj = getattr(self._module, name)
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Extension'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Certificates flow with ECDSA 256 and Gandi Live DNS, then read the traceback through /opt/certbot/lib/python3.13/site-packages/acme/crypto_util.py and the related Certbot, acme, cryptography, and OpenSSL packages. Done means certificate creation and renewal complete without the crypto.X509Extension error in the Docker image.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
backend, devops, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.