[GH-ISSUE #197] Can't import Cloudflare Origin Certs to NPM #173

Closed
opened 2026-02-26 06:31:08 +03:00 by kerem · 3 comments
Owner

Originally created by @reichbc on GitHub (Sep 5, 2019).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/197

Trying to upload Cloudflare origin certs to NPM for the root domain.

Selecting the files in Explorer doesn't show itself in the UI, and I get an Upload failed: 400 message:
https://ramstik.pictures/5530-30750.gif

Logs show the following:

[9/5/2019] [12:53:34 AM] [Express  ] › ⚠  warning   Certificate Key is not valid (Command failed: openssl rsa -in /tmp/dd4705a3-a3ea-4aee-aa4c-f19dcf0a98d6/tmp -check -noout
139767292129344:error:0607907F:digital envelope routines:EVP_PKEY_get0_RSA:expecting an rsa key:../crypto/evp/p_lib.c:284:
)

From my limited experience with SSL stuff, it looks like you've coded it to only accept RSA keys. My key is ECDSA.

Is there a workaround for this, or do I just need to generate a new origin cert?

Originally created by @reichbc on GitHub (Sep 5, 2019). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/197 Trying to upload Cloudflare origin certs to NPM for the root domain. Selecting the files in Explorer doesn't show itself in the UI, and I get an `Upload failed: 400` message: https://ramstik.pictures/5530-30750.gif Logs show the following: ``` [9/5/2019] [12:53:34 AM] [Express ] › ⚠ warning Certificate Key is not valid (Command failed: openssl rsa -in /tmp/dd4705a3-a3ea-4aee-aa4c-f19dcf0a98d6/tmp -check -noout 139767292129344:error:0607907F:digital envelope routines:EVP_PKEY_get0_RSA:expecting an rsa key:../crypto/evp/p_lib.c:284: ) ``` From my limited experience with SSL stuff, it looks like you've coded it to **only** accept RSA keys. My key is ECDSA. Is there a workaround for this, or do I just need to generate a new origin cert?
kerem closed this issue 2026-02-26 06:31:08 +03:00
Author
Owner

@funnelcloudservices commented on GitHub (Oct 3, 2019):

I'm having the same issue right now. I was thinking it was a permissions issue possibly?

<!-- gh-comment-id:537920813 --> @funnelcloudservices commented on GitHub (Oct 3, 2019): I'm having the same issue right now. I was thinking it was a permissions issue possibly?
Author
Owner

@wei commented on GitHub (Dec 2, 2020):

Same~

<!-- gh-comment-id:737097128 --> @wei commented on GitHub (Dec 2, 2020): Same~
Author
Owner

@Likqez commented on GitHub (Dec 11, 2020):

See #759 this will fix it!

<!-- gh-comment-id:743400835 --> @Likqez commented on GitHub (Dec 11, 2020): See #759 this will fix it!
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#173
No description provided.