<?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- validation in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder-validation/m-p/150745#M30664</link>
    <description>&lt;P&gt;Hi garima_chauhan,&lt;/P&gt;

&lt;P&gt;run this command from the &lt;CODE&gt;cmd&lt;/CODE&gt; prompt&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; %SPLUNK_HOME%/bin/splunk cmd openssl s_client -connect myIDX:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this will open a SSL connection to the idx and verify the SSL connection.&lt;/P&gt;

&lt;P&gt;find some background information about SSL tests and config changes &lt;A href="http://answers.splunk.com/answers/134053/ciphersuite-in-various-conf-files"&gt;here&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Sun, 18 May 2014 08:42:17 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2014-05-18T08:42:17Z</dc:date>
    <item>
      <title>SSL connection between Indexer and Forwarder- validation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder-validation/m-p/150741#M30660</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;/P&gt;

&lt;P&gt;Date Time +1100 INFO  TcpInputConfig - IPv4 port 9997 is reserved for splunk 2 splunk&lt;/P&gt;

&lt;P&gt;Date Time +1100 INFO  TcpInputConfig - IPv4 port 9997 is not compressed&lt;/P&gt;

&lt;P&gt;Date Time +1100 INFO  TcpInputConfig - IPv4 port 9997 is reserved for splunk 2 splunk (SSL)&lt;/P&gt;

&lt;P&gt;Date Time +1100 INFO  TcpInputConfig - IPv4 port 9997 is compressed&lt;/P&gt;

&lt;P&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;/P&gt;

&lt;P&gt;Date Time +1100 INFO  TcpOutputProc - found Whitelist forwardedindex.0.whitelist , RE : forwardedindex.0.whitelist&lt;/P&gt;

&lt;P&gt;Date Time +1100 INFO  TcpOutputProc - found Blacklist forwardedindex.1.blacklist , RE : forwardedindex.1.blacklist&lt;/P&gt;

&lt;P&gt;Date Time +1100 INFO  TcpOutputProc - found Whitelist forwardedindex.2.whitelist , RE : forwardedindex.2.whitelist&lt;/P&gt;

&lt;P&gt;Date Time +1100 INFO  TcpOutputProc - tcpout group splunkssl using Auto load balanced forwarding&lt;/P&gt;

&lt;P&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 checked if there were 2 inputs.conf stanzas using port 9997. There were no 2 stanzas using port 9997 but I still changed the port to 9996 for ssl connection.&lt;/P&gt;

&lt;P&gt;Despite changing the port, I don't get the output in splunkd.log as mentioned in the splunk documentation. &lt;/P&gt;

&lt;P&gt;However, when I checked the metrics.log file on Indexer, I get "ssl=true". Does this mean that ssl is enabled, even though the splunkd logs are not as desired?&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:20:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder-validation/m-p/150741#M30660</guid>
      <dc:creator>garima_chauhan</dc:creator>
      <dc:date>2020-09-28T15:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection between Indexer and Forwarder- validation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder-validation/m-p/150742#M30661</link>
      <description>&lt;P&gt;In the splunkd.log on the forwarder, are you seeing messages similar to "TcpOutput: Connected to 1.2.3.4." (Where 1.2.3.4 is the IP address of your indexer)?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2013 08:05:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder-validation/m-p/150742#M30661</guid>
      <dc:creator>msarro</dc:creator>
      <dc:date>2013-11-21T08:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection between Indexer and Forwarder- validation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder-validation/m-p/150743#M30662</link>
      <description>&lt;P&gt;Yes it does give &lt;/P&gt;

&lt;P&gt;TcpOutputProc: Connected to idx IP:9996&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2013 09:15:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder-validation/m-p/150743#M30662</guid>
      <dc:creator>garima_chauhan</dc:creator>
      <dc:date>2013-11-21T09:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection between Indexer and Forwarder- validation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder-validation/m-p/150744#M30663</link>
      <description>&lt;P&gt;I am having similar problem as above. Can anyone please post the solution for this problem?&lt;BR /&gt;
Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 17 May 2014 19:20:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder-validation/m-p/150744#M30663</guid>
      <dc:creator>uchaitanya</dc:creator>
      <dc:date>2014-05-17T19:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection between Indexer and Forwarder- validation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder-validation/m-p/150745#M30664</link>
      <description>&lt;P&gt;Hi garima_chauhan,&lt;/P&gt;

&lt;P&gt;run this command from the &lt;CODE&gt;cmd&lt;/CODE&gt; prompt&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; %SPLUNK_HOME%/bin/splunk cmd openssl s_client -connect myIDX:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this will open a SSL connection to the idx and verify the SSL connection.&lt;/P&gt;

&lt;P&gt;find some background information about SSL tests and config changes &lt;A href="http://answers.splunk.com/answers/134053/ciphersuite-in-various-conf-files"&gt;here&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Sun, 18 May 2014 08:42:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SSL-connection-between-Indexer-and-Forwarder-validation/m-p/150745#M30664</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-05-18T08:42:17Z</dc:date>
    </item>
  </channel>
</rss>

