LDAPS with *.crt Certificate not working with Netbox v4.5.0 #21298
Unanswered
Zombie-Toad
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I just figured out, that our LDAPS config with a *.crt certificate is not working anymore with my upgraded setup and Netbox v4.5.0. I switched to a *.pem certificate and LDAPS is working again. I cannot figure out, what is actually causing the problem.
For testing purpose I switched django-auth-ldap version to 5.2.0, that had no effect. Maybe there is something else causing the problem.
Versions before upgrade (config is working fine):
Debian 12 (latest patches)
Netbox v4.4.9
Python v3.11.2 (from debian repos)
Versions after upgrade (no LDAPS connection):
Debian 13 (latest patches)
Netbox v4.5.0
Python v3.13.5 (from debian repos)
Error message in django ldap log:
Caught LDAPError while authenticating: SERVER_DOWN({'result': -1, 'desc': "Can't contact LDAP server", 'ctrls': []})Anyone who can replicate this? If so, I would create an issue to update the docs. There is the *.crt file addressed in the LDAP Config (https://netboxlabs.com/docs/netbox/installation/ldap/#general-server-configuration).
EDIT:
Just to be clear, same configuration with "ldap://..." is working fine and certificates are all valid.
Beta Was this translation helpful? Give feedback.
All reactions