[GH-ISSUE #1406] privkey changed in size from v2.9.4 and it is not recognized anymore as a valid privkey on QNAP NAS #1101

Closed
opened 2026-02-26 06:35:45 +03:00 by kerem · 1 comment
Owner

Originally created by @hjhm35 on GitHub (Sep 14, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1406

Is it possible that the privkey file is not valid anymore? V2.9.4 generates privkey filesize about 1,66 kb. Higher versions (also 2.9.9) create privkeys with a size of 306 bytes. My QNAP NAS says that the file is not valid. When I create certificates with v2.9.4 then it works well.

Originally created by @hjhm35 on GitHub (Sep 14, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1406 Is it possible that the privkey file is not valid anymore? V2.9.4 generates privkey filesize about 1,66 kb. Higher versions (also 2.9.9) create privkeys with a size of 306 bytes. My QNAP NAS says that the file is not valid. When I create certificates with v2.9.4 then it works well.
kerem 2026-02-26 06:35:45 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@chaptergy commented on GitHub (Oct 5, 2021):

The default config has been changed to use ecdsa instead of rsa. Maybe your system does not support this cryptographic method? You can overwrite /etc/letsencrypt.ini by mounting your own file into the docker container to remove these lines if you want to go back to rsa.

<!-- gh-comment-id:934839616 --> @chaptergy commented on GitHub (Oct 5, 2021): The default config has been changed to use ecdsa instead of rsa. Maybe your system does not support this cryptographic method? You can overwrite `/etc/letsencrypt.ini` by mounting your own file into the docker container to remove these lines if you want to go back to rsa.
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#1101
No description provided.