Nagios Core Authentication with LDAPS

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Nagios Core Authentication with LDAPS

Postby charangandra » Mon Apr 16, 2018 10:28 am

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,
viewtopic.php?f=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
charangandra
 
Posts: 24
Joined: Tue Feb 13, 2018 6:23 am

Re: Nagios Core Authentication with LDAPS

Postby scottwilkerson » Mon Apr 16, 2018 5:10 pm

did you restart ldap after making the change?
Code: Select all
service ldap restart
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12041
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios Core Authentication with LDAPS

Postby charangandra » Tue Apr 17, 2018 3:25 am

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.
charangandra
 
Posts: 24
Joined: Tue Feb 13, 2018 6:23 am

Re: Nagios Core Authentication with LDAPS

Postby scottwilkerson » Tue Apr 17, 2018 8:02 am

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12041
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot] and 12 guests