<?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: How to encrypt traffic between universal forwarder and indexer (getting error on server splunkd.log)? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-encrypt-traffic-between-universal-forwarder-and-indexer/m-p/463949#M80003</link>
    <description>&lt;P&gt;Hi.&lt;BR /&gt;
I did this yesterday and on the indexer i needed to change the &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;server.conf&lt;/LI&gt;
&lt;LI&gt;inputs.conf&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;STRONG&gt;server.conf&lt;/STRONG&gt;&lt;BR /&gt;
[sslConfig]&lt;BR /&gt;
sslRootCAPath = /opt/splunk/etc/auth/cacert.pem&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;inputs.conf&lt;/STRONG&gt;&lt;BR /&gt;
[splunktcp-ssl:9997]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;[SSL]&lt;BR /&gt;
serverCert = $SPLUNK_HOME/etc/auth/server.pem&lt;BR /&gt;
sslPassword = password&lt;BR /&gt;
requireClientCert = false&lt;/P&gt;

&lt;P&gt;On the uf, i needed to add&lt;BR /&gt;
- outputs.conf &lt;BR /&gt;
- server.conf&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;output.conf&lt;/STRONG&gt;&lt;BR /&gt;
[tcpout]&lt;BR /&gt;
[tcpout:group1]&lt;BR /&gt;
server = 192.168.1.79:9997&lt;BR /&gt;
clientCert = $SPLUNK_HOME/etc/auth/server.pem&lt;BR /&gt;
sslVerifyServerCert = false&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;server.conf&lt;/STRONG&gt;&lt;BR /&gt;
[sslConfig]&lt;BR /&gt;
sslRootCAPath = /opt/splunkforwarder/etc/auth/cacert.pem&lt;/P&gt;

&lt;P&gt;I don't know if its 100% correct, but it worked in my lab environment.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jun 2020 05:53:56 GMT</pubDate>
    <dc:creator>broberg</dc:creator>
    <dc:date>2020-06-01T05:53:56Z</dc:date>
    <item>
      <title>How to encrypt traffic between universal forwarder and indexer (getting error on server splunkd.log)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-encrypt-traffic-between-universal-forwarder-and-indexer/m-p/463948#M80002</link>
      <description>&lt;P&gt;I am trying to just set up a basic encryption between the Universal Forwarder and indexer using the certs that come with the install. I am trying to follow the directions on this Splunk doc but am running into issues:&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/Security/ConfigureSplunkforwardingtousethedefaultcertificate" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/Security/ConfigureSplunkforwardingtousethedefaultcertificate&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;On the inputs.conf for the indexer found under &lt;CODE&gt;C:\Program Files\Splunk\etc\system\local&lt;/CODE&gt; on my Splunk server I added this stanza:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[SSL]
serverCert = $SPLUNK_HOME/etc/auth/server.pem
sslPassword = password
requireClientCert = false
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then on the &lt;CODE&gt;outputs.config&lt;/CODE&gt; for the UF found under &lt;CODE&gt;C:\Program Files\SplunkUniversalForwarder\etc\system\local&lt;/CODE&gt; on one of my servers I have this for the config:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server = [SplunkServerNameHere]:9997
clientCert = $SPLUNK_HOME/etc/auth/server.pem
sslPassword = password
sslVerifyServerCert = false

[sslConfig]
caCertFile = cacert.pem
caPath = $SPLUNK_HOME\etc\auth

[tcpout-server://[SplunkServerNameHere]:9997]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I then reset both the Splunk server and UF and found logs were still getting ingested into the indexer with no issues except from the UF that I was setting up to use an encrypted connection. It worked with no issue prior to configuration change but its traffic was getting rejected after the UF was reset. I looked at the &lt;CODE&gt;splunkd.log&lt;/CODE&gt; file on the Splunk server and found this error:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;ERROR TcpInputProc - Message rejected. Received unexpected message of size=369295616 bytes from src=[ClientIPHere]:60167 in streaming mode. Maximum message size allowed=67108864. (::) Possible invalid source sending data to splunktcp port or valid source sending unsupported payload.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 07 Jun 2020 00:52:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-encrypt-traffic-between-universal-forwarder-and-indexer/m-p/463948#M80002</guid>
      <dc:creator>snix</dc:creator>
      <dc:date>2020-06-07T00:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to encrypt traffic between universal forwarder and indexer (getting error on server splunkd.log)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-encrypt-traffic-between-universal-forwarder-and-indexer/m-p/463949#M80003</link>
      <description>&lt;P&gt;Hi.&lt;BR /&gt;
I did this yesterday and on the indexer i needed to change the &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;server.conf&lt;/LI&gt;
&lt;LI&gt;inputs.conf&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;STRONG&gt;server.conf&lt;/STRONG&gt;&lt;BR /&gt;
[sslConfig]&lt;BR /&gt;
sslRootCAPath = /opt/splunk/etc/auth/cacert.pem&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;inputs.conf&lt;/STRONG&gt;&lt;BR /&gt;
[splunktcp-ssl:9997]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;[SSL]&lt;BR /&gt;
serverCert = $SPLUNK_HOME/etc/auth/server.pem&lt;BR /&gt;
sslPassword = password&lt;BR /&gt;
requireClientCert = false&lt;/P&gt;

&lt;P&gt;On the uf, i needed to add&lt;BR /&gt;
- outputs.conf &lt;BR /&gt;
- server.conf&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;output.conf&lt;/STRONG&gt;&lt;BR /&gt;
[tcpout]&lt;BR /&gt;
[tcpout:group1]&lt;BR /&gt;
server = 192.168.1.79:9997&lt;BR /&gt;
clientCert = $SPLUNK_HOME/etc/auth/server.pem&lt;BR /&gt;
sslVerifyServerCert = false&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;server.conf&lt;/STRONG&gt;&lt;BR /&gt;
[sslConfig]&lt;BR /&gt;
sslRootCAPath = /opt/splunkforwarder/etc/auth/cacert.pem&lt;/P&gt;

&lt;P&gt;I don't know if its 100% correct, but it worked in my lab environment.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 05:53:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-encrypt-traffic-between-universal-forwarder-and-indexer/m-p/463949#M80003</guid>
      <dc:creator>broberg</dc:creator>
      <dc:date>2020-06-01T05:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to encrypt traffic between universal forwarder and indexer (getting error on server splunkd.log)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-encrypt-traffic-between-universal-forwarder-and-indexer/m-p/617714#M106635</link>
      <description>&lt;P&gt;How do we validate the encrypted log. post doing the changes ?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 14:48:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-encrypt-traffic-between-universal-forwarder-and-indexer/m-p/617714#M106635</guid>
      <dc:creator>tejasode</dc:creator>
      <dc:date>2022-10-19T14:48:22Z</dc:date>
    </item>
  </channel>
</rss>

