Cannot use "Custom Certificate"
Checklist
-
Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker image? Yes -
Are you sure you're not using someone else's docker image? Yes
Describe the bug Tried to add custom-certificate in Certifcates > Add SSL Certificate > Custom.
After pressing "Save" nothing seems to happen, but Browser/JS Console logs this error:
17.bundle.17.js:1 Uncaught TypeError: Cannot read property 'cloudflare_use' of undefined
at i.click @ui.save (17.bundle.17.js:1)
at HTMLDivElement.dispatch (main.bundle.js?v=2.5.0:27)
at HTMLDivElement.p.handle (main.bundle.js?v=2.5.0:27)
To Reproduce Steps to reproduce the behavior:
See -> Describe the bug
Expected behavior Being able to save the custom certificate or being able to toggle cloudflare-usage (missing form-field?!).
Screenshots If applicable, add screenshots to help explain your problem.

Operating System Ubuntu Linux, Google Chrome
Additional context Just in case you're wondering about the TLD in screenshot. It's a private-lan and I made a self-signed certificate using mkcert on my laptop trying to deploy it on nginx-proxy-manager (private-lan server). The cert is required for docker-registry (which requires SSL even in private-lan for docker & portainer container management).
Same problem.
Same problem here.
Hi, I confirm this behavior since 2.5.0 release, reverting to 2.4.0 release, fixes the upload bug.
Kind Regards
I am having this problem with 2.4.0 and 2.5.0. I get this error Uncaught TypeError: s.meta is undefined
i had this problem yesterday and reinstalled all system with 2.4.0 and its working perfect.
i had this problem yesterday and reinstalled all system with 2.4.0 and its working perfect.
Hello I'm trying in 2.4.0 but, still not working .. I tried to create another user but not working too... So, how do you do ??
i had this problem yesterday and reinstalled all system with 2.4.0 and its working perfect.
Hello I'm trying in 2.4.0 but, still not working .. I tried to create another user but not working too... So, how do you do ??
Ok, i found something, in 2.4.0 version, I sent my certificate in .pem and all is work fine.
I have the same issue, but it's unresolved by either redeploying 2.4.0 or using a .pem key.
Same issue. It does not go away with 2.4.0 or with .pem key.
Version v2.5.0 and the same issue
Same Issue here
Hello all, to add custom SSL in 2.4.0 version, check to remove data/ directory and docker-compose up -d again. Then when you try to add your custom ssl, let the field empty and click on save, a message will say to fill out the field, then put your name in the field and click to browse the certificate key and certificate.
i try in firefox but

i try in firefox but
Hello @centralhardware , look the line "dispatch" & "handle". It's 2.5.0 version, no ?
i try in firefox but
Same issue on 2.5.0. Revert to 2.4.0 and clear cache worked for me
same issue here. will try with 2.4.0
Thanks for all these replies.
Trying release 2.4.0 I'm getting this response (AJAX Response captured from Chrome Network inspector).
I've rolled out using docker with 'jc21/nginx-proxy-manager:2.4.0'.
I've been trying to upload self-signed cert created using mk-cert (#593) The submit of this is quit with alert "Error 500"

// 20200928123906
// http://ssl.typoworx.lan:81/api/nginx/certificates/1/upload
{
"error": {
"code": 404,
"message": "Item Not Found - /nginx/certificates/1/upload"
}
}
May be the docker-provided configuration for nginx & upload path is screwed?
Same here. I cannot import Custom SSL certs in either 2.4.0 or 2.5.0. Just broke a whole bunch of stuff. GREAT.

I even blew these containers away and started from scratch. STILL CAN'T upload custom SSL certs on 2.5.0. What gives?!
Hello all, to add custom SSL in 2.4.0 version, check to remove data/ directory and docker-compose up -d again. Then when you try to add your custom ssl, let the field empty and click on save, a message will say to fill out the field, then put your name in the field and click to browse the certificate key and certificate.
Still doesn't work.
Still Doesn't Work