Skip to content

Conversation

mz2
Copy link

@mz2 mz2 commented Sep 12, 2025

Adds support for custom certificate key types through CERT_KEY_TYPE and CERT_ELLIPTIC_CURVE environment variables, optionally also passed to the Dockerfile, to enables ECDSA P-256 certificates and other key types beyond the default.

Maintains backward compatibility when environment variables are empty or not set (i.e. no impact to current behaviour when the vars are not set).

This change allows users to specify custom key types and elliptic curves
for SSL certificates through CERT_KEY_TYPE and CERT_ELLIPTIC_CURVE
environment variables. This enables support for ECDSA P-256 certificates
and other key types.

When these environment variables are empty or not set, the current
default behavior is preserved, ensuring backward compatibility.

The environment variables are passed as arguments to certbot when
generating or renewing certificates for both HTTP and DNS challenges.
@mz2 mz2 force-pushed the feature/custom-cert-key-types branch from 3e7bb81 to 2154fe5 Compare September 12, 2025 11:24
@nginxproxymanagerci
Copy link

Docker Image for build 2 is available on DockerHub:

nginxproxymanager/nginx-proxy-manager-dev:pr-4762

Note

Ensure you backup your NPM instance before testing this image! Especially if there are database changes.
This is a different docker image namespace than the official image.

Warning

Changes and additions to DNS Providers require verification by at least 2 members of the community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant