mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #1411] letsencrypt SSL Certificate has 306 bytes key size #1102
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#1102
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 @fahidsh on GitHub (Sep 18, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1411
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
My previously generated letsencrypt SSL-Certs had a Key file privkeyXX.pem of 1.7k size. After generating the letsencrypt certs, I copy them from NPM archive folder and use them with some other docker-apps.
lately, when I renew letsencrypt certs from NPM, certs are being generated, but the key file privkeyXX.pem has a size of 306 bytes. When I copy these NPM generated certs, some of my other docker-apps are failing to start with error invalid certificate. I have checked everything including permissions etc. Everything is fine, only difference is the key file size of letencrypt-certs generated by NPM.
At the time when problem started a few days back, I had NPM 2.9.7, today I updated my NPM to 2.9.9 and regenerated the certs and generated some new certs, all have a key file of 306 bytes.
When I goto NPM->SSL Certs, it show the certificates correct with correct expiry date. So I am wondering, why is it? has something changed on Letsencrypt side which is causing smaller key files (from 1.7 KB to 306 B) or is something wrong with NPM?
As for my NPM usage, I am not using some complex settings, just have some proxy hosts for my docker-apps being served with HTTPS.
Nginx Proxy Manager Version
2.9.7 and 2.9.9
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Operating System
Ubuntu Server 20.04
Additional context
@fahidsh commented on GitHub (Sep 18, 2021):
this is how the new smaller key file looks with cat command
@chaptergy commented on GitHub (Oct 5, 2021):
Duplicate of https://github.com/jc21/nginx-proxy-manager/issues/1411