mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #709] Upload failed: Certificate Key is not valid #600
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#600
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MatijaTerzic on GitHub (Nov 10, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/709
I am trying to add a custom certificate to npm and i receive following error:
Upload failed: Certificate Key is not valid (Command failed: openssl ec -in /tmp/de8aedfc-852b-430c-b97e-3c536caa2d4d/tmp -check -noout 2>&1 )
Certificate / key /cabundle works on other systems
@MatijaTerzic commented on GitHub (Nov 10, 2020):
Solved, in my key file the first and last line was -----BEGIN PRIVATE KEY----- & -----END PRIVATE KEY-----
Apperantly npm needs -----BEGIN RSA PRIVATE KEY----- & -----END RSA PRIVATE KEY-----
@juan11perez commented on GitHub (Nov 29, 2020):
@MatijaTerzic
thank you for posting this. I had the same problem when uploading a cloudflare certificate and this fixed it.
@MatijaTerzic commented on GitHub (Nov 29, 2020):
@juan11perez your welkome, glad it works ;)
@hb-i commented on GitHub (Dec 10, 2020):
Worked. Would be nice to include it in the error.
@Likqez commented on GitHub (Dec 11, 2020):
got the same error, thanks for sharing the solution!
@MatijaTerzic commented on GitHub (Dec 12, 2020):
This is something they could fix easy i think