-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FTL.log; WARNING SSL/TLS certificate <FILE> does not match domain <DOMAIN>! #2227
Comments
FTL should check the extra SAN domains. Could you please run
and provide the uploaded token? You should first run it without the |
i ran the command, but pointing to another file (the /etc/pihole/tls.pem is still the default pi.hole certificate). |
I posted what appears to be a duplicate issue as #2277 (sorry)! However, I do think I found the cause (wrong |
Got the same issue, also with a wildcard cert. |
Yes, pihole-FTL still seems to use the cert, but produces the warning message every startup of the process from my limited testing.
--
Ryan
***@***.***
…On February 25, 2025 3:03:15 p.m. MST, Lutz Schwemer Panchez ***@***.***> wrote:
iShark5060 left a comment (pi-hole/FTL#2227)
Got the same issue, also with a wildcard cert.
https://tricorder.pi-hole.net/WoHnNgnE/
at least chrome doesn't complain (duh, the cert is valid)

--
Reply to this email directly or view it on GitHub:
#2227 (comment)
You are receiving this because you commented.
Message ID: ***@***.***>
|
Sorry for the long delay... Seems you are right with assuming there is a length check issue in
fixes this for you? The certificate is always used, even when FTL finds a mismatch as the error message in your browser (that the domain is incorrect) is probably more helpful for you to debug than us simply rejecting the certificate and you first have to look for and then read the log files. |
@DL6ER I have just tested that, first locally with the branch and confirmed that the I say the fix/san_wildcard fix addresses the issue. |
Versions
Platform
Expected behavior
I would not expect this warning as my certificate is a wildcard SSL certificate
Actual behavior / bug
webserver.webserver.tls points to a valid TLS (SSL) certificate file, which is a wildcard certifcate.
CN = domain.com
subject alt names contains "domain.com", ".domain.com" and ".sub.domain.com"
webserver.domain is set to "sub.domain.com"
Steps to reproduce
Steps to reproduce the behavior:
test above with a wildcard certificate containing "domain.com", ".domain.com" and ".sub.domain.com" and set webserver.domain to "sub.domain.com". restart pihole-FTL service
Debug Token
[✓] Your debug token is: https://tricorder.pi-hole.net/N1Pc1r8T/
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: