Page 1 of 1

LDAP check is failing since new certificate

Posted: Thu May 30, 2019 11:30 am
by NMFSTeam
Good afternoon,

Our centralized LDAP server had its SSL certificate replaced recently. Ever since, our service check in Nagios XI has been failing with the error "Could not bind to the LDAP server."

[root@servername libexec]# ./check_ldap -H ldapserver.address -b "o=valid.o" -2 -S -p 636
Could not bind to the LDAP server

I am thinking we need to update the SSL certificate somewhere, but I don't know where to do it. Please help!

Re: LDAP check is failing since new certificate

Posted: Thu May 30, 2019 12:20 pm
by npolovenko
Hello, @mblower. You can add a new certificate in the LDAP menu. Please see the screenshot below.
Untitled.png

Re: LDAP check is failing since new certificate

Posted: Thu May 30, 2019 1:09 pm
by NMFSTeam
I have done this, but the error remains. Do I need to restart a service?

Re: LDAP check is failing since new certificate

Posted: Thu May 30, 2019 2:45 pm
by npolovenko
@mblower, Please follow this article to resolve the certificate issue:
https://support.nagios.com/kb/article.php?id=525

Re: LDAP check is failing since new certificate

Posted: Thu May 30, 2019 4:13 pm
by NMFSTeam
Perfect, that worked! Thank you so much.

Re: LDAP check is failing since new certificate

Posted: Thu May 30, 2019 4:20 pm
by npolovenko
@mblower, No problem! I'll be closing this thread as resolved.