[PR #4762] Add support for custom certificate key types via environment variables #3952

Open
opened 2026-02-26 08:32:34 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/4762
Author: @mz2
Created: 9/12/2025
Status: 🔄 Open

Base: developHead: feature/custom-cert-key-types


📝 Commits (1)

  • 2154fe5 Add support for custom certificate key types via environment variables

📊 Changes

2 files changed (+17 additions, -1 deletions)

View changed files

📝 backend/internal/certificate.js (+14 -0)
📝 docker/Dockerfile (+3 -1)

📄 Description

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 issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/NginxProxyManager/nginx-proxy-manager/pull/4762 **Author:** [@mz2](https://github.com/mz2) **Created:** 9/12/2025 **Status:** 🔄 Open **Base:** `develop` ← **Head:** `feature/custom-cert-key-types` --- ### 📝 Commits (1) - [`2154fe5`](https://github.com/NginxProxyManager/nginx-proxy-manager/commit/2154fe57f8804de45a6eef322a218a011939c455) Add support for custom certificate key types via environment variables ### 📊 Changes **2 files changed** (+17 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/internal/certificate.js` (+14 -0) 📝 `docker/Dockerfile` (+3 -1) </details> ### 📄 Description 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). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#3952
No description provided.