Page 1 of 1

Nagios Core Authentication with LDAPS

Posted: Mon Apr 16, 2018 10:28 am
by charangandra
Hi,

I've successfully integrated Nagios authentication with LDAP, however it's proving difficult to integrate it with LDAPS.

I've followed the below article,
https://support.nagios.com/forum/viewto ... =7&t=41848.

However I am receiving 500 error.

step 2 of the above article says to add four lines to ldap.conf file

HOST "hostname"
PORT 636
TLS_CACERT /etc/httpd/conf.d/rootcert.pem
TLS_REQCERT never

where can I locate this file, I found one in /etc/openldap and added the above lines but didn't make any difference.

Please give me some idea.

Thanks,
Charan

Re: Nagios Core Authentication with LDAPS

Posted: Mon Apr 16, 2018 5:10 pm
by scottwilkerson
did you restart ldap after making the change?

Code: Select all

service ldap restart

Re: Nagios Core Authentication with LDAPS

Posted: Tue Apr 17, 2018 3:25 am
by charangandra
No, I didn't restart LDAP, but do I need to restart? Authentication is working well when I use ldap, but the problem is when I use ldaps. However tried to restart ldap on Nagios server, got error message unit not found.

Re: Nagios Core Authentication with LDAPS

Posted: Tue Apr 17, 2018 8:02 am
by scottwilkerson
you need to restart the service for the changes you made to the config to take place.

I don't know what the service is called on your machine, my example above was just a guess