<?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: Splunk serving wrong certificate on tcp-ssl input in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/538984#M90299</link>
    <description>&lt;P&gt;I am still looking for an answer on this. Not sure why this is not working as stated in Splunk docs.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Feb 2021 12:26:44 GMT</pubDate>
    <dc:creator>konstr</dc:creator>
    <dc:date>2021-02-08T12:26:44Z</dc:date>
    <item>
      <title>Splunk serving wrong certificate on tcp-ssl input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/538082#M90195</link>
      <description>&lt;P&gt;I am facing a weird issue at the moment where I want to set up multiple tcp-ssl inputs and have each input using a different certificate.&lt;/P&gt;&lt;P&gt;The reason for that is that our Heavy Forwarders will be receiving syslog inputs through two separate load-balancers which will not be performing certificate offloading.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My inputs.conf is as follows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[tcp-ssl:10515]
sourcetype = source1
index = index1
disabled = 0
serverCert = /path to servercert2
sslRootCAPath = /path to rootCA cert

[tcp-ssl:10516]
sourcetype = source2
index = index2
disabled = 0

[tcp-ssl:10517]
sourcetype = source3
index = index3
disabled = 0

[SSL]
requireClientCert= false
serverCert = /path to servercert1
sslRootCAPath = /path to rootCA cert&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically I am setting the main certificate that will be used in the [SSL] stanza and then I am overriding that specifically for the [tcp-ssl:10515] stanza. Passwords for both certificates are under the correct stanzas in the local directory. I've also tried to override the certificate in [tcp-ssl:10515] by adding the paths under the local&amp;nbsp; directory but no luck.&lt;/P&gt;&lt;P&gt;No matter what I do Splunk is serving the certificate under the [SSL] stanza (which I have confirmed by capturing and inspecting the packets).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to Splunk docs what I'm trying should be possible unless I'm misunderstanding something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[tcp-ssl:&amp;lt;port&amp;gt;]
* Use this stanza type if you are receiving encrypted, unparsed data from a
  forwarder or third-party system.
* Set &amp;lt;port&amp;gt; to the port on which the forwarder/third-party system is sending
  unparsed, encrypted data.
* To create multiple SSL inputs, you can add the following attributes to each
[tcp-ssl:&amp;lt;port&amp;gt;] input stanza. If you do not configure a certificate in the
port, the certificate information is pulled from the default [SSL] stanza:
  * serverCert = &amp;lt;path_to_cert&amp;gt;
  * sslRootCAPath = &amp;lt;path_to_cert&amp;gt; This attribute should only be added
    if you have not configured your sslRootPath in server.conf.
  * sslPassword = &amp;lt;password&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also tried to completely ignore the [SSL] stanza and just add the certificate paths under each input's stanza but I get an error that the inputs cannot start due to the [SSL] stanza not being defined.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 13:13:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/538082#M90195</guid>
      <dc:creator>konstr</dc:creator>
      <dc:date>2021-02-01T13:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk serving wrong certificate on tcp-ssl input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/538984#M90299</link>
      <description>&lt;P&gt;I am still looking for an answer on this. Not sure why this is not working as stated in Splunk docs.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 12:26:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/538984#M90299</guid>
      <dc:creator>konstr</dc:creator>
      <dc:date>2021-02-08T12:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk serving wrong certificate on tcp-ssl input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/544487#M90842</link>
      <description>&lt;P&gt;I facing the exact same problem...&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 11:41:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/544487#M90842</guid>
      <dc:creator>BenjaminKTH</dc:creator>
      <dc:date>2021-03-19T11:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk serving wrong certificate on tcp-ssl input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/544762#M90874</link>
      <description>&lt;P&gt;As you mentioned that you tried to ignore [SSL] stanza, does that mean you removed that [SSL] stanza &amp;amp; it's configuration and configured SSL certificate under each tcp-ssl stanza ?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 12:54:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/544762#M90874</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2021-03-22T12:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk serving wrong certificate on tcp-ssl input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/544763#M90875</link>
      <description>&lt;P&gt;Yes, I tried removing the [SSL] stanza completely and include all the information under each port's stanza. That didn't work either and I was getting errors that the [SSL] stanza is missing.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 12:56:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/544763#M90875</guid>
      <dc:creator>konstr</dc:creator>
      <dc:date>2021-03-22T12:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk serving wrong certificate on tcp-ssl input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/544777#M90876</link>
      <description>&lt;P&gt;Replicated this issue, configured below settings and it is not working. I suggest you to raise case with Splunk Support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In inputs.conf&lt;/P&gt;&lt;P&gt;[tcp-ssl:10515]&lt;BR /&gt;serverCert = $SPLUNK_HOME/etc/auth/my_certs/splunkso.pem&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In server.conf&lt;/P&gt;&lt;P&gt;[sslConfig]&lt;/P&gt;&lt;P&gt;sslRootCAPath = $SPLUNK_HOME/etc/auth/my_certs/rootCA.pem&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 14:03:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/544777#M90876</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2021-03-22T14:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk serving wrong certificate on tcp-ssl input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/548162#M91162</link>
      <description>&lt;P&gt;Looks like this issue is fixed in Splunk 8.0.9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2021-02-09 	SPL-199494, SPL-198714 	tcp-ssl input stanza individual ssl certificates not working as documented &lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 16 Apr 2021 09:34:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-serving-wrong-certificate-on-tcp-ssl-input/m-p/548162#M91162</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2021-04-16T09:34:00Z</dc:date>
    </item>
  </channel>
</rss>

