<?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: Why am I getting TcpOutputFd error in splunkd.log after heavy forwarder setup? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-TcpOutputFd-error-in-splunkd-log-after-heavy/m-p/184431#M36941</link>
    <description>&lt;P&gt;I try to secure master &amp;lt;-&amp;gt; indexer communication with server certificates signed by our own company rootCA. &lt;BR /&gt;
Reason is: Forwarding Master-Data to indexers so master does not index any data itself.&lt;/P&gt;

&lt;P&gt;I created certificates for my servers according to the splunk documentation. &lt;BR /&gt;
For the sake of this example I will call the server certificate: servercert.pem&lt;BR /&gt;
And I will call the rootCA certificate: rootcacert.pem&lt;/P&gt;

&lt;P&gt;Lets start at the formatting of the certificates:&lt;BR /&gt;
the servercert.pem looks like&lt;BR /&gt;
- servercert in pem format&lt;BR /&gt;
- privatekey in rsa format (encrypted with secret-key)&lt;BR /&gt;
- subCAcert in pem format (yes, we have a subCA)&lt;BR /&gt;
- rootCAcert in pem format &lt;/P&gt;

&lt;P&gt;the rootcacert.pem looks like&lt;/P&gt;

&lt;H2&gt;- rootCAcert in pem format (no subCAcert, only the rootCAcert)&lt;/H2&gt;

&lt;P&gt;On the master the outputs.conf looks like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = Splunk_Indexers

[tcpout:Splunk_Indexer]
server = indexer1:9997,indexer2:9997

[tcpout-server://indexer1.ex.amp.le.de:9997]
sslRootCAPath = /opt/splunk/etc/auth/splunkforwarder/rootcacert.pem
sslCertPath = /opt/splunk/etc/auth/splunkforwarder/servercert.pem
sslPassword = &amp;lt;secret-key&amp;gt;
sslVerifyServerCert = true
sslCommonNameToCheck = indexer1.ex.amp.le.de

[tcpout-server://indexer2.ex.amp.le.de:9997]
sslRootCAPath = /opt/splunk/etc/auth/splunkforwarder/rootcacert.pem
sslCertPath = /opt/splunk/etc/auth/splunkforwarder/servercert.pem
sslPassword = &amp;lt;secret-key&amp;gt;
sslVerifyServerCert = true
sslCommonNameToCheck = indexer2.ex.amp.le.de
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On the indexers the inputs.conf (distributed to them over the cluster-bundle) looks like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SSL]
rootCA = /opt/splunk/etc/auth/receiver/rootcacert.pem
serverCert = /opt/splunk/etc/auth/receiver/servercert.pem
password = &amp;lt;secret-key&amp;gt;

[splunktcp-ssl:9997]
compressed = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;

&lt;P&gt;Site note: I created a directory called splunkforwarder and receiver for reason of understandig which certificate resides where on the system.&lt;/P&gt;

&lt;P&gt;If I open splunkd.log on the master I find the following error:&lt;BR /&gt;
&lt;STRONG&gt;ERROR TcpOutputFd - Read error. Connection reset by peer&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;On the indexers splunkd.log looks like this:&lt;BR /&gt;
&lt;STRONG&gt;ERROR TcpInputProc - Error encountered for connection from src=:38953. error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Help would be hugely apprechiated, because I work on this problem since monday!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 09:59:58 GMT</pubDate>
    <dc:creator>horsefez</dc:creator>
    <dc:date>2020-09-29T09:59:58Z</dc:date>
    <item>
      <title>Why am I getting TcpOutputFd error in splunkd.log after heavy forwarder setup?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-TcpOutputFd-error-in-splunkd-log-after-heavy/m-p/184426#M36936</link>
      <description>&lt;P&gt;We have setup a heavy forwarder (for VMware app as a dc node) but we are getting following errors in splunkd.log. Instance is starting correctly.&lt;/P&gt;

&lt;P&gt;-0700 ERROR TcpOutputFd - Read error. Connection reset by peer&lt;/P&gt;

&lt;P&gt;Any feedback? Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2014 23:12:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-TcpOutputFd-error-in-splunkd-log-after-heavy/m-p/184426#M36936</guid>
      <dc:creator>vikasshinde</dc:creator>
      <dc:date>2014-08-15T23:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting TcpOutputFd error in splunkd.log after heavy forwarder setup?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-TcpOutputFd-error-in-splunkd-log-after-heavy/m-p/184427#M36937</link>
      <description>&lt;P&gt;You're going to want to post inputs.conf and outputs.conf here...  The error is most likely caused by a configuration error (usually an accidental loop).&lt;/P&gt;</description>
      <pubDate>Sun, 17 Aug 2014 06:55:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-TcpOutputFd-error-in-splunkd-log-after-heavy/m-p/184427#M36937</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2014-08-17T06:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting TcpOutputFd error in splunkd.log after heavy forwarder setup?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-TcpOutputFd-error-in-splunkd-log-after-heavy/m-p/184428#M36938</link>
      <description>&lt;P&gt;inputs.conf: &lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
host = xyz [splunktcp-ssl://9997]&lt;BR /&gt;
disabled=0 &lt;/P&gt;

&lt;P&gt;outputs.conf: [tcpout]&lt;BR /&gt;
defaultGroup = indexers&lt;BR /&gt;
indexAndForward = 1 [tcpout:indexers]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
autoLB = true&lt;BR /&gt;
server = indexer1:9997, indexer2:9997, indexer3:9997 &lt;/P&gt;

&lt;P&gt;[tcpout-server://indexer1:9997]&lt;BR /&gt;
disabled = 0 &lt;BR /&gt;
[tcpout-server:/indexer2:9997]&lt;BR /&gt;
disabled = 0 &lt;BR /&gt;
[tcpout-server://indexer3:9997]&lt;BR /&gt;
disabled = 0&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2014 16:03:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-TcpOutputFd-error-in-splunkd-log-after-heavy/m-p/184428#M36938</guid>
      <dc:creator>vikasshinde</dc:creator>
      <dc:date>2014-08-18T16:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting TcpOutputFd error in splunkd.log after heavy forwarder setup?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-TcpOutputFd-error-in-splunkd-log-after-heavy/m-p/184429#M36939</link>
      <description>&lt;P&gt;Any update on this?&lt;BR /&gt;
I have a similar problem... &lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 10:43:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-TcpOutputFd-error-in-splunkd-log-after-heavy/m-p/184429#M36939</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2016-06-23T10:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting TcpOutputFd error in splunkd.log after heavy forwarder setup?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-TcpOutputFd-error-in-splunkd-log-after-heavy/m-p/184430#M36940</link>
      <description>&lt;P&gt;can you post you outputs.conf? its probably an issue there&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 10:51:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-TcpOutputFd-error-in-splunkd-log-after-heavy/m-p/184430#M36940</guid>
      <dc:creator>diogofgm</dc:creator>
      <dc:date>2016-06-23T10:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting TcpOutputFd error in splunkd.log after heavy forwarder setup?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-TcpOutputFd-error-in-splunkd-log-after-heavy/m-p/184431#M36941</link>
      <description>&lt;P&gt;I try to secure master &amp;lt;-&amp;gt; indexer communication with server certificates signed by our own company rootCA. &lt;BR /&gt;
Reason is: Forwarding Master-Data to indexers so master does not index any data itself.&lt;/P&gt;

&lt;P&gt;I created certificates for my servers according to the splunk documentation. &lt;BR /&gt;
For the sake of this example I will call the server certificate: servercert.pem&lt;BR /&gt;
And I will call the rootCA certificate: rootcacert.pem&lt;/P&gt;

&lt;P&gt;Lets start at the formatting of the certificates:&lt;BR /&gt;
the servercert.pem looks like&lt;BR /&gt;
- servercert in pem format&lt;BR /&gt;
- privatekey in rsa format (encrypted with secret-key)&lt;BR /&gt;
- subCAcert in pem format (yes, we have a subCA)&lt;BR /&gt;
- rootCAcert in pem format &lt;/P&gt;

&lt;P&gt;the rootcacert.pem looks like&lt;/P&gt;

&lt;H2&gt;- rootCAcert in pem format (no subCAcert, only the rootCAcert)&lt;/H2&gt;

&lt;P&gt;On the master the outputs.conf looks like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = Splunk_Indexers

[tcpout:Splunk_Indexer]
server = indexer1:9997,indexer2:9997

[tcpout-server://indexer1.ex.amp.le.de:9997]
sslRootCAPath = /opt/splunk/etc/auth/splunkforwarder/rootcacert.pem
sslCertPath = /opt/splunk/etc/auth/splunkforwarder/servercert.pem
sslPassword = &amp;lt;secret-key&amp;gt;
sslVerifyServerCert = true
sslCommonNameToCheck = indexer1.ex.amp.le.de

[tcpout-server://indexer2.ex.amp.le.de:9997]
sslRootCAPath = /opt/splunk/etc/auth/splunkforwarder/rootcacert.pem
sslCertPath = /opt/splunk/etc/auth/splunkforwarder/servercert.pem
sslPassword = &amp;lt;secret-key&amp;gt;
sslVerifyServerCert = true
sslCommonNameToCheck = indexer2.ex.amp.le.de
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On the indexers the inputs.conf (distributed to them over the cluster-bundle) looks like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SSL]
rootCA = /opt/splunk/etc/auth/receiver/rootcacert.pem
serverCert = /opt/splunk/etc/auth/receiver/servercert.pem
password = &amp;lt;secret-key&amp;gt;

[splunktcp-ssl:9997]
compressed = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;

&lt;P&gt;Site note: I created a directory called splunkforwarder and receiver for reason of understandig which certificate resides where on the system.&lt;/P&gt;

&lt;P&gt;If I open splunkd.log on the master I find the following error:&lt;BR /&gt;
&lt;STRONG&gt;ERROR TcpOutputFd - Read error. Connection reset by peer&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;On the indexers splunkd.log looks like this:&lt;BR /&gt;
&lt;STRONG&gt;ERROR TcpInputProc - Error encountered for connection from src=:38953. error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Help would be hugely apprechiated, because I work on this problem since monday!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:59:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-TcpOutputFd-error-in-splunkd-log-after-heavy/m-p/184431#M36941</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2020-09-29T09:59:58Z</dc:date>
    </item>
  </channel>
</rss>

