mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #2536] Certificate Chain invalid with LE and NPM #1769
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#1769
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 @lordimac on GitHub (Jan 12, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2536
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
We are using NPM with Lets Encrypt Certificates. After creating a Host and issueing the certificate everything works fine on modern browsers and latest systems. Certificate is valid. But if we try to open the website on an older system, like Android 7, the SSL validation gets failed. It looks like this is because of an old and invalid root certificate. If we check the website with sslchecker.com it tells us also also that CHAIN CERT 1 and ROOT 1 is missing. If we check the chain details, we see that DST Root CA X3 and a NA cert are invalid since 29/30 september 2021. If I check letsencrypt.org with sslchecker.com everything is fine.
Nginx Proxy Manager Version
v2.9.19
To Reproduce
Steps to reproduce the behavior:
Create Cert for Domain and check with sslchecker.com
Screenshots

Operating System
Android 7.0
@lordimac commented on GitHub (Jan 12, 2023):
OK, I commented the following line in letsencrypt.ini
preferred-chain = ISRG Root X1After removing and reissueing the certificate, I get a valid chain.
@Shineson1001 commented on GitHub (Jan 13, 2023):
Hi,
i have nearly the same problem. I downloaded the certificate from the NPM "SSL Certificates" page and use use it with a GitLab server.

If you use the "GitHub Desktop" Client and try to connect to the GitLab server, you get this error message:

If you create the certificate with the certbot tool (Docker image "certbot/certbot": docker run -it certbot/certbot ....), the "GitHub Desktop" Client works fine; you do not get any error messages.
The chain.pem from NPM contains only one certificate; only the intermediate certificate from LetsEncrypt.
The chain.pem from certbot contains two certificates.
Same with the fullchain.pem:
NPM contains two certificates und certbot contains three certificates.
Is it possible to create chain files with the complete chain?
=> chain.pem = intermediate and root certificate
=> fullchain.pem = intermediate, root and server certificate
@github-actions[bot] commented on GitHub (Jan 30, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Mar 16, 2025):
Issue was closed due to inactivity.