<?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: Receiving TCP TLS data Help in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Where-to-put-PEM-file-after-data-accepted/m-p/584144#M102848</link>
    <description>&lt;P&gt;For tcp-ssl input you define a tcp-ssl stanza.&lt;/P&gt;&lt;P&gt;As a minimum, if you have unencrypted cryptographic material, it's enough to do, for example&lt;/P&gt;&lt;PRE&gt;[tcp-ssl:1514]&lt;BR /&gt;serverCert=$SPLUNK_HOME/etc/certs/whatever.pem&lt;BR /&gt;index=my_index&lt;BR /&gt;sourcetype=my_sourcetype&lt;/PRE&gt;&lt;P&gt;As I wrote before, remember that if you're running splunk as a normal user (non-root), you won't be able to bind to a low (&amp;lt;1024) port.&lt;/P&gt;&lt;P&gt;After defining such input, do a restart of your forwarder, verify that it's listening on the port and try to connect from remote with openssl s_client.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Feb 2022 17:11:15 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2022-02-08T17:11:15Z</dc:date>
    <item>
      <title>Where to put .PEM file after data accepted?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-to-put-PEM-file-after-data-accepted/m-p/583760#M102814</link>
      <description>&lt;P&gt;Right now I have a Syslog Server Sending me security events. The Syslog server is sending the data with TLS encryption.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the PEM file, so that Splunk can do the three way handshake and accept my data.&lt;/P&gt;
&lt;P&gt;My question is, where do I put that .PEM file.&lt;/P&gt;
&lt;P&gt;Currently my&lt;STRONG&gt; Inputs.conf&lt;/STRONG&gt; file looks like this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[tcp-ssl:520]
serverCert = $SPLUNK_HOME/etc/auth/mycerts/myCert.pem
sslPassword = PASSWORD&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My &lt;STRONG&gt;Server.conf&lt;/STRONG&gt; file looks like this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[sslConfig]
enableSplunkdSSL = true
sslPassword = $**************************
sslRootCAPath = $SPLUNK_HOME/etc/auth/mycerts/myCert.pem&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My certificate is stored in&amp;nbsp;&lt;STRONG&gt;C:\Program Files\Splunk\etc\auth\mycerts&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;What am I missing? Any help is appreciated&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 03:37:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-to-put-PEM-file-after-data-accepted/m-p/583760#M102814</guid>
      <dc:creator>Marco_Develops</dc:creator>
      <dc:date>2022-02-10T03:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving TCP TLS data Help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-to-put-PEM-file-after-data-accepted/m-p/583766#M102815</link>
      <description>&lt;P&gt;Either your cert is your cert or CA's cert. If you're not authenticating your peer you don't need CA cert anyway.&lt;/P&gt;&lt;P&gt;3-way handshake is in TCP layer. TLS negotiation is a bit more complicated.&lt;/P&gt;&lt;P&gt;Did you restart your splunkd process? Did you check log for errors (for example mistyped filenames or wrong file permissions)? Is splunkd listening on port 520? (Bonus hint - if your process is running with a non-root user it won't bind to low port) Did you try to connect with openssl client?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 19:16:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-to-put-PEM-file-after-data-accepted/m-p/583766#M102815</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-02-04T19:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving TCP TLS data Help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-to-put-PEM-file-after-data-accepted/m-p/584134#M102845</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for the clarification on the certs. I believe what I am doing is incorrect so my question is:&lt;/P&gt;&lt;P&gt;If you had to send data from a server via TCP-TLS to Splunk. Where would you start?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank You,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 15:52:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-to-put-PEM-file-after-data-accepted/m-p/584134#M102845</guid>
      <dc:creator>Marco_Develops</dc:creator>
      <dc:date>2022-02-08T15:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving TCP TLS data Help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-to-put-PEM-file-after-data-accepted/m-p/584144#M102848</link>
      <description>&lt;P&gt;For tcp-ssl input you define a tcp-ssl stanza.&lt;/P&gt;&lt;P&gt;As a minimum, if you have unencrypted cryptographic material, it's enough to do, for example&lt;/P&gt;&lt;PRE&gt;[tcp-ssl:1514]&lt;BR /&gt;serverCert=$SPLUNK_HOME/etc/certs/whatever.pem&lt;BR /&gt;index=my_index&lt;BR /&gt;sourcetype=my_sourcetype&lt;/PRE&gt;&lt;P&gt;As I wrote before, remember that if you're running splunk as a normal user (non-root), you won't be able to bind to a low (&amp;lt;1024) port.&lt;/P&gt;&lt;P&gt;After defining such input, do a restart of your forwarder, verify that it's listening on the port and try to connect from remote with openssl s_client.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 17:11:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-to-put-PEM-file-after-data-accepted/m-p/584144#M102848</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-02-08T17:11:15Z</dc:date>
    </item>
  </channel>
</rss>

