nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

Impossible to upload custom certificate

Open trisosamu opened this issue 1 year ago • 3 comments

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)?
    • No

Describe the bug

Nginx Proxy Manager Version

To Reproduce Steps to reproduce the behavior:

  1. Go to 'SSL Certificate'
  2. Click on '.Ass SSL Certificate'
  3. Scroll down to '.Custom'
  4. Upload all file with .pem extension

Screenshots

Operating System

trisosamu avatar Sep 19 '24 08:09 trisosamu

Issue is now considered stale. If you want to keep it open, please comment :+1:

github-actions[bot] avatar May 17 '25 02:05 github-actions[bot]

Same issue here

I’m experiencing the exact same problem. When I try to add a custom certificate, the Certificates interface freezes or breaks — it stops loading completely afterward.

I tried uploading valid .pem and key files, but after clicking Save the UI hangs and the certificate never appears. Restarting the container or clearing cache doesn’t help.

SQ9MDD avatar Nov 12 '25 21:11 SQ9MDD

When I try to upload a custom wildcard certificate, I notice in the logs it does not include a domain name:

id: 12, expires_on: '2026-07-21 23:59:59', domain_names: [ null ]

and upon reloading the certificate page it will go blank due to an error:

Uncaught TypeError: Cannot read properties of null (reading 'includes') at h (DomainsFormatter-DRGLydBn.js:1:109) at ld (index-BBAG1AZl.js:49:48769) at M0 (index-BBAG1AZl.js:49:71656) at nS (index-BBAG1AZl.js:49:82048) at LS (index-BBAG1AZl.js:49:117928) at aI (index-BBAG1AZl.js:49:116966) at tg (index-BBAG1AZl.js:49:116794) at xS (index-BBAG1AZl.js:49:113564) at qS (index-BBAG1AZl.js:49:125603) at Ad (index-BBAG1AZl.js:49:124155)

Here is the relevant code snippet:

import {j as e, d as c, ad as m, c as d} from "./index-BBAG1AZl.js"; const h = ({domain: s, color: n}) => { let a; return s.includes("*") && (a = l => l.preventDefault()), e.jsx("a", { href: http://${s}, target: "_blank", onClick: a, className: d("badge", n ? bg-${n}-lt : null, "domain-name", "me-2"), children: s }, s) }

moseslecce avatar Nov 13 '25 16:11 moseslecce