Nagios Core Authentication with LDAPS

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
charangandra
Posts: 25
Joined: Tue Feb 13, 2018 6:23 am

Nagios Core Authentication with LDAPS

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Core Authentication with LDAPS

Post by scottwilkerson »

did you restart ldap after making the change?

Code: Select all

service ldap restart
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
charangandra
Posts: 25
Joined: Tue Feb 13, 2018 6:23 am

Re: Nagios Core Authentication with LDAPS

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Core Authentication with LDAPS

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked