[PR #5242] [CLOSED] feat: Integrate mkcert for local development certificates #4116

Closed
opened 2026-02-26 08:33:11 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/5242
Author: @knight832
Created: 1/28/2026
Status: Closed

Base: developHead: claude/integrate-mkcert-5yUXb


📝 Commits (1)

  • a735676 feat: Integrate mkcert for local development certificates

📊 Changes

18 files changed (+764 additions, -22 deletions)

View changed files

📝 backend/internal/certificate.js (+103 -18)
backend/lib/mkcert.js (+243 -0)
📝 backend/logger.js (+2 -1)
📝 backend/routes/nginx/certificates.js (+65 -0)
📝 backend/schema/common.json (+1 -1)
📝 backend/schema/components/certificate-object.json (+8 -0)
backend/schema/paths/nginx/certificates/mkcert/ca/get.json (+43 -0)
backend/schema/paths/nginx/certificates/mkcert/status/get.json (+51 -0)
📝 docker/Dockerfile (+12 -1)
📝 docker/dev/Dockerfile (+14 -1)
frontend/src/api/backend/downloadMkcertCA.ts (+10 -0)
frontend/src/api/backend/getMkcertStatus.ts (+8 -0)
📝 frontend/src/api/backend/index.ts (+2 -0)
📝 frontend/src/api/backend/models.ts (+7 -0)
📝 frontend/src/locale/src/en.json (+18 -0)
frontend/src/modals/MkcertCertificateModal.tsx (+165 -0)
📝 frontend/src/modals/index.ts (+1 -0)
📝 frontend/src/pages/Certificates/TableWrapper.tsx (+11 -0)

📄 Description

This commit adds mkcert integration to nginx-proxy-manager, allowing users to generate locally-trusted SSL certificates for development environments.

Backend changes:

  • Add mkcert library wrapper (/backend/lib/mkcert.js)
  • Extend certificate.js with mkcert certificate generation
  • Add new API endpoints for mkcert status and CA download
  • Update schema to support 'mkcert' provider type

Frontend changes:

  • Add MkcertCertificateModal component
  • Add mkcert API functions (getMkcertStatus, downloadMkcertCA)
  • Update certificate page with mkcert menu option
  • Add localization strings for mkcert feature

Docker changes:

  • Update Dockerfiles to install mkcert binary

https://claude.ai/code/session_01GMfGgwyR1p8rSJVaTBAcoe


🔄 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/5242 **Author:** [@knight832](https://github.com/knight832) **Created:** 1/28/2026 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `claude/integrate-mkcert-5yUXb` --- ### 📝 Commits (1) - [`a735676`](https://github.com/NginxProxyManager/nginx-proxy-manager/commit/a735676e45c6b8ca6782be16bd34cf92a5b17fc7) feat: Integrate mkcert for local development certificates ### 📊 Changes **18 files changed** (+764 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `backend/internal/certificate.js` (+103 -18) ➕ `backend/lib/mkcert.js` (+243 -0) 📝 `backend/logger.js` (+2 -1) 📝 `backend/routes/nginx/certificates.js` (+65 -0) 📝 `backend/schema/common.json` (+1 -1) 📝 `backend/schema/components/certificate-object.json` (+8 -0) ➕ `backend/schema/paths/nginx/certificates/mkcert/ca/get.json` (+43 -0) ➕ `backend/schema/paths/nginx/certificates/mkcert/status/get.json` (+51 -0) 📝 `docker/Dockerfile` (+12 -1) 📝 `docker/dev/Dockerfile` (+14 -1) ➕ `frontend/src/api/backend/downloadMkcertCA.ts` (+10 -0) ➕ `frontend/src/api/backend/getMkcertStatus.ts` (+8 -0) 📝 `frontend/src/api/backend/index.ts` (+2 -0) 📝 `frontend/src/api/backend/models.ts` (+7 -0) 📝 `frontend/src/locale/src/en.json` (+18 -0) ➕ `frontend/src/modals/MkcertCertificateModal.tsx` (+165 -0) 📝 `frontend/src/modals/index.ts` (+1 -0) 📝 `frontend/src/pages/Certificates/TableWrapper.tsx` (+11 -0) </details> ### 📄 Description This commit adds mkcert integration to nginx-proxy-manager, allowing users to generate locally-trusted SSL certificates for development environments. Backend changes: - Add mkcert library wrapper (/backend/lib/mkcert.js) - Extend certificate.js with mkcert certificate generation - Add new API endpoints for mkcert status and CA download - Update schema to support 'mkcert' provider type Frontend changes: - Add MkcertCertificateModal component - Add mkcert API functions (getMkcertStatus, downloadMkcertCA) - Update certificate page with mkcert menu option - Add localization strings for mkcert feature Docker changes: - Update Dockerfiles to install mkcert binary https://claude.ai/code/session_01GMfGgwyR1p8rSJVaTBAcoe --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 08:33:11 +03:00
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#4116
No description provided.