<?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: SSL connection between Indexer and Forwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136633#M28141</link>
    <description>&lt;P&gt;Hi jtacy,&lt;BR /&gt;
No I dont have a regular splunktcp-9997 stanza already present in the inputs.conf. Still, I created and used a separate port-9996 and changed the config files as given by you. I am still not getting the desired output. While the logs on indexer are same, the forwarder splunkd logs also give the following line:&lt;/P&gt;

&lt;P&gt;Date Time +1100 WARN  TcpOutputProc - Cooked connection to ip=IndexerIP:9996 timed out&lt;/P&gt;

&lt;P&gt;The data from forwarder is successfully being indexed in the indexer, though. Please suggest what else can be the problem here.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2013 06:36:30 GMT</pubDate>
    <dc:creator>garima_chauhan</dc:creator>
    <dc:date>2013-11-12T06:36:30Z</dc:date>
    <item>
      <title>SSL connection between Indexer and Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136631#M28139</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am not able to configure the ssl connections between the forwarder and indexer. The splunkd logs on both the indexer and forwarder are not the same as cited in the documentation.&lt;/P&gt;

&lt;P&gt;Here is what I get on Indexer in splunkd.log:&lt;BR /&gt;
Date Time +1100 INFO  TcpInputConfig - IPv4 port 9997 is reserved for splunk 2 splunk&lt;BR /&gt;
Date Time +1100 INFO  TcpInputConfig - IPv4 port 9997 is not compressed&lt;BR /&gt;
Date Time +1100 INFO  TcpInputConfig - IPv4 port 9997 is reserved for splunk 2 splunk (SSL)&lt;BR /&gt;
Date Time +1100 INFO  TcpInputConfig - IPv4 port 9997 is compressed&lt;BR /&gt;
Date Time +1100 INFO  TcpInputProc - Registering metrics callback for: tcpin_connections&lt;/P&gt;

&lt;P&gt;After this, I do not get any other message as mentioned in the documentation.&lt;/P&gt;

&lt;P&gt;On Forwarder, I get the following in splunkd.log:&lt;BR /&gt;
Date Time +1100 INFO  TcpOutputProc - found Whitelist forwardedindex.0.whitelist , RE : forwardedindex.0.whitelist&lt;BR /&gt;
Date Time +1100 INFO  TcpOutputProc - found Blacklist forwardedindex.1.blacklist , RE : forwardedindex.1.blacklist&lt;BR /&gt;
Date Time +1100 INFO  TcpOutputProc - found Whitelist forwardedindex.2.whitelist , RE : forwardedindex.2.whitelist&lt;BR /&gt;
Date Time +1100 INFO  TcpOutputProc - tcpout group splunkssl using Auto load balanced forwarding&lt;BR /&gt;
Date Time +1100 INFO  TcpOutputProc - Group splunkssl initialized with maxQueueSize=512000 in bytes.&lt;/P&gt;

&lt;P&gt;Date Time +1100 WARN  TcpOutputProc - Connected to idx=&lt;INDEXERIP&gt;:9997. Not using ACK.&lt;/INDEXERIP&gt;&lt;/P&gt;

&lt;P&gt;Date Time +1100 WARN  TcpOutputProc - Connected to idx=&lt;INDEXERIP&gt;:9997. Not using ACK.&lt;/INDEXERIP&gt;&lt;/P&gt;

&lt;P&gt;Date Time +1100 INFO  TcpOutputProc - Connection to &lt;INDEXERIP&gt;:9997 closed. Connection closed&lt;/INDEXERIP&gt;&lt;/P&gt;

&lt;P&gt;For enabling SSL connection between a forwarder and an indexer, I performed the following configurations:&lt;/P&gt;

&lt;P&gt;On Indexer(Windows)&lt;BR /&gt;
I added the following stanzas in $SPLUNK_HOME\etc\system\local\inputs.conf&lt;/P&gt;

&lt;P&gt;[splunktcp-ssl:9997]&lt;BR /&gt;
compressed = true&lt;/P&gt;

&lt;P&gt;[SSL]&lt;BR /&gt;
rootCA = $SPLUNK_HOME\etc\auth\cacert.pem&lt;BR /&gt;
serverCert = $SPLUNK_HOME\etc\auth\server.pem&lt;BR /&gt;
password = password&lt;/P&gt;

&lt;P&gt;On Forwarder(Windows)&lt;BR /&gt;
I added the following stanzas in $SPLUNK_HOME\etc\system\local\outputs.conf&lt;/P&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;
defaultGroup = splunkssl&lt;/P&gt;

&lt;P&gt;[tcpout:splunkssl]&lt;BR /&gt;
compressed = true&lt;BR /&gt;
server = &lt;INDEXERIP&gt;:9997&lt;BR /&gt;
sslCertPath = $SPLUNK_HOME\etc\auth\server.pem&lt;BR /&gt;
sslPassword = password&lt;BR /&gt;
sslRootCAPath = $SPLUNK_HOME\etc\auth\cacert.pem&lt;BR /&gt;
sslVerifyServerCert = false&lt;/INDEXERIP&gt;&lt;/P&gt;

&lt;P&gt;I am not able to figure out where am I making a mistake.Please help.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:14:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136631#M28139</guid>
      <dc:creator>garima_chauhan</dc:creator>
      <dc:date>2020-09-28T15:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection between Indexer and Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136632#M28140</link>
      <description>&lt;P&gt;The log on the indexer suggests that you might have two input.conf stanzas using port 9997. Can you verify that you don't have a regular splunktcp:9997 stanza in there? If you want to support both non-SSL and SSL forwarders, you'll need to choose a different port for either of the inputs. Here's working configuration from a forwarder and indexer:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Indexer&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunktcp-ssl:9997]

[SSL]
password = password
rootCA = $SPLUNK_HOME/etc/auth/cacert.pem
serverCert = $SPLUNK_HOME/etc/auth/server.pem
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Forwarder&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = indexer01

[tcpout:indexer01]
server = indexer01:9997
sslCertPath = $SPLUNK_HOME/etc/auth/server.pem
sslPassword = password
sslRootCAPath = $SPLUNK_HOME/etc/auth/ca.pem
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm not using compression in my example since the documentation for inputs.conf says that it only applies to non-SSL inputs. I'd remove that from the indexer and forwarder config and restart both instances to make sure that's not part of the problem, but my main concern is the possibility that there are two listeners using the same port.&lt;/P&gt;

&lt;P&gt;With the above configuration, you should start seeing events for your forwarder host in the _internal index almost right away. Good luck!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 22:57:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136632#M28140</guid>
      <dc:creator>jtacy</dc:creator>
      <dc:date>2013-11-11T22:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection between Indexer and Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136633#M28141</link>
      <description>&lt;P&gt;Hi jtacy,&lt;BR /&gt;
No I dont have a regular splunktcp-9997 stanza already present in the inputs.conf. Still, I created and used a separate port-9996 and changed the config files as given by you. I am still not getting the desired output. While the logs on indexer are same, the forwarder splunkd logs also give the following line:&lt;/P&gt;

&lt;P&gt;Date Time +1100 WARN  TcpOutputProc - Cooked connection to ip=IndexerIP:9996 timed out&lt;/P&gt;

&lt;P&gt;The data from forwarder is successfully being indexed in the indexer, though. Please suggest what else can be the problem here.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 06:36:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136633#M28141</guid>
      <dc:creator>garima_chauhan</dc:creator>
      <dc:date>2013-11-12T06:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection between Indexer and Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136634#M28142</link>
      <description>&lt;P&gt;Unless the "timed out" message is appearing repeatedly in the logs, if the events are being indexed you might be OK. However, again, I was only able to match your indexer log output when I intentionally added duplicate inputs. My live indexers output only one set of TcpInputConfig events when starting:&lt;/P&gt;

&lt;P&gt;10-29-2013 06:09:51.078 -0500 INFO  TcpInputConfig - IPv4 port 9997 is reserved for splunk 2 splunk (SSL)&lt;BR /&gt;
10-29-2013 06:09:51.078 -0500 INFO  TcpInputConfig - IPv4 port 9997 is not compressed&lt;/P&gt;

&lt;P&gt;Have you run "splunk btool inputs list" just to double-check that you don't have a duplicate?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 23:07:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136634#M28142</guid>
      <dc:creator>jtacy</dc:creator>
      <dc:date>2013-11-12T23:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection between Indexer and Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136635#M28143</link>
      <description>&lt;P&gt;Hi, I have no duplicate inputs.conf. In splunkd.log, it still doesn't show me the stated output, however,in metrics.log, it is giving that ssl=true.Would this mean, that ssl is enabled now?&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 04:48:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136635#M28143</guid>
      <dc:creator>garima_chauhan</dc:creator>
      <dc:date>2013-11-19T04:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection between Indexer and Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136636#M28144</link>
      <description>&lt;P&gt;Here's a good entry from metrics.log on an indexer. Note connectionType=cookedSSL and ssl=true:&lt;/P&gt;

&lt;P&gt;11-21-2013 18:21:04.211 -0600 INFO  Metrics - group=tcpin_connections, 10.10.10.10:57308:9997, connectionType=cookedSSL, sourcePort=57308, sourceHost=10.10.10.10, sourceIp=10.10.10.10, destPort=9997, _tcp_Bps=157.95, _tcp_KBps=0.15, _tcp_avg_thruput=0.15, kb=2.31, _tcp_Kprocessed=2.31, _tcp_eps=0.27, build=163460, version=5.0.3, os=Windows, arch=x64, hostname=forwarder, guid=ABCDEF12-1234-ABCD-1234-ABCDEF123456, fwdType=uf, ssl=true, lastIndexer=None, ack=false&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:20:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136636#M28144</guid>
      <dc:creator>jtacy</dc:creator>
      <dc:date>2020-09-28T15:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection between Indexer and Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136637#M28145</link>
      <description>&lt;P&gt;If you want to be really sure, you could use Wireshark to capture traffic between the forwarder and indexer on your SSL port. Capture for a couple of minutes to make sure you see several connections (assuming 30s connect interval). Follow one of the TCP streams and the only text that should be readable includes things like SplunkCommonCA that pertain to the default certs.&lt;/P&gt;

&lt;P&gt;This, combined with the info from metrics.log on the indexer, should give you pretty good confidence that SSL is working properly. If you're that concerned about SSL, make sure you're using a custom CA and verifying certs.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 00:30:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136637#M28145</guid>
      <dc:creator>jtacy</dc:creator>
      <dc:date>2013-11-22T00:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection between Indexer and Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136638#M28146</link>
      <description>&lt;P&gt;Couple of links about using custom certs:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Security/Howtoself-signcertificates"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Security/Howtoself-signcertificates&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Security/ConfigureSplunkforwardingtousesignedcertificates"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Security/ConfigureSplunkforwardingtousesignedcertificates&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 00:31:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136638#M28146</guid>
      <dc:creator>jtacy</dc:creator>
      <dc:date>2013-11-22T00:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection between Indexer and Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136639#M28147</link>
      <description>&lt;P&gt;Thanks jtacy. I am able to see the metrics.log as you mentioned.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 07:12:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder/m-p/136639#M28147</guid>
      <dc:creator>garima_chauhan</dc:creator>
      <dc:date>2013-11-22T07:12:19Z</dc:date>
    </item>
  </channel>
</rss>

