<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error when configuring LDAP authentication over SSL to Windows 2012R2 Active Directory in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Error-when-configuring-LDAP-authentication-over-SSL-to-Windows/m-p/326431#M93436</link>
    <description>&lt;P&gt;Can you try to concat  the cert into a single pem file, and then add the following.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TLS_REQCERT never
TLS_CACERT /opt/splunk/etc/openldap/certs/Your_Concat_Cert.pem
#TLS_CACERTDIR /opt/splunk/etc/openldap/certs
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 25 Jan 2018 01:22:33 GMT</pubDate>
    <dc:creator>daniel_splunk</dc:creator>
    <dc:date>2018-01-25T01:22:33Z</dc:date>
    <item>
      <title>Error when configuring LDAP authentication over SSL to Windows 2012R2 Active Directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Error-when-configuring-LDAP-authentication-over-SSL-to-Windows/m-p/326430#M93435</link>
      <description>&lt;P&gt;I tried to enable LDAP over SSL to Windows 2012R2 Active Directory via port 636, got the following error message.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;01-11-2018 15:44:18.528 +0800 DEBUG ScopedLDAPConnection - strategy="LDAP Lab" Initializing with LDAPURL="ldaps://10.10.10.30:636"
01-11-2018 15:44:18.528 +0800 DEBUG ScopedLDAPConnection - strategy="LDAP Lab" Attempting bind as DN="cn=svc_splunk_to_ad,ou=my_company,ou=users,ou=systems,dc=com"
01-11-2018 15:44:18.528 +0800 ERROR ScopedLDAPConnection - strategy="LDAP Lab" Error binding to LDAP. reason="Can't contact LDAP server"
01-11-2018 15:44:18.528 +0800 DEBUG ScopedLDAPConnection - strategy="LDAP Lab" Successfully performed unbind
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Run the following command and confirmed that LDAP are able to connect using TLS1.1 and TLS1.2&lt;/P&gt;

&lt;P&gt;splunk cmd openssl s_client -tls1_1 -connect 10.10.10.30:636&lt;BR /&gt;
splunk cmd openssl s_client -tls1_2 -connect 10.10.10.30:636&lt;/P&gt;

&lt;P&gt;Below is the $SPLUNK_HOME/etc/openldap/ldap.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TLS_PROTOCOL_MIN 3.3
TLS_CIPHER_SUITE ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-
AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256

TLS_CACERT /opt/splunk/etc/openldap/certs/certnew.cer
TLS_CACERTDIR /opt/splunk/etc/openldap/certs
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any idea about this?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:47:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Error-when-configuring-LDAP-authentication-over-SSL-to-Windows/m-p/326430#M93435</guid>
      <dc:creator>daniel_splunk</dc:creator>
      <dc:date>2020-09-29T17:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error when configuring LDAP authentication over SSL to Windows 2012R2 Active Directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Error-when-configuring-LDAP-authentication-over-SSL-to-Windows/m-p/326431#M93436</link>
      <description>&lt;P&gt;Can you try to concat  the cert into a single pem file, and then add the following.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TLS_REQCERT never
TLS_CACERT /opt/splunk/etc/openldap/certs/Your_Concat_Cert.pem
#TLS_CACERTDIR /opt/splunk/etc/openldap/certs
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Jan 2018 01:22:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Error-when-configuring-LDAP-authentication-over-SSL-to-Windows/m-p/326431#M93436</guid>
      <dc:creator>daniel_splunk</dc:creator>
      <dc:date>2018-01-25T01:22:33Z</dc:date>
    </item>
  </channel>
</rss>

