mirror of
https://github.com/lldap/lldap.git
synced 2026-04-26 00:36:01 +03:00
[GH-ISSUE #691] LDAPS with jellyfin does not work #245
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#245
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 @magns12 on GitHub (Sep 25, 2023).
Original GitHub issue: https://github.com/lldap/lldap/issues/691
Hey,
LDAP is working fine but if i change the port and check Skip SSL/TLS Verification and Secure LDAP, this error occurs in docker log:
@nitnelave commented on GitHub (Sep 26, 2023):
The error you get is a TLS error, more specifically a wrong SNI hostname. In short, from what I could gather, you have a certificate for LLDAP that is for the hostname example.com, but you try to access it with a different hostname (in this case, I believe that it's an IP address, 10.10.10.109). The TLS stack checks that it matches the name in the certificate, and it doesn't, so the handshake fails.
How did you configure Jellyfin? What name is in your certificate?
@magns12 commented on GitHub (Sep 27, 2023):
You're probably right! The certificate is issued to myinternalsite.net and *.myinternalsite.net. Is it somehow possible to disable the SNI check? If I use the Domain instead of the direct IP the request will get routed
@magns12 commented on GitHub (Sep 27, 2023):
Missclicked...
@nitnelave commented on GitHub (Sep 27, 2023):
Hmm, I'd like to avoid adding yet another option to LLDAP, especially to reduce security.
I don't know about your setup, but you can probably route the request locally even with the hostname. A local iptable configuration, a docker setting, something along these lines should work.
@magns12 commented on GitHub (Oct 1, 2023):
Understandable, I added a subdomain on my DNS which points to the 10.10.10.109 as a workaround.
Thanks!
@yloose commented on GitHub (Jul 15, 2024):
Just some info for anyone else having this issue. I was having the same problem recently and was wondering why it was broken with jellyfin, but working with all my other ldap clients as well as with ldapsearch. It seems to be related to the fact that jellyfin sends a SNI - as nitnelave has already mentioned - that does not match the certificate. Ldapsearch however seems to simply omit the tls sni extension, causing it to work. Here are some wireshark captures