<?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 SSL data into a forwarder - ISAM9 request_syslogs to Splunk forwarder in Security</title>
    <link>https://community.splunk.com/t5/Security/Receiving-SSL-data-into-a-forwarder-ISAM9-request-syslogs-to/m-p/262014#M7182</link>
    <description>&lt;P&gt;No port is opening on my server... SSL cert issues&lt;/P&gt;

&lt;P&gt;Things of changed in version 6.5.2 so I updated the files using these links.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.2/Admin/Inputsconf"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.2/Admin/Inputsconf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.2/Admin/Serverconf"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.2/Admin/Serverconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I've reviewed the passwords and viewed the .pem cert files for a ----start---- line and i'm pretty positive things are correct.&lt;BR /&gt;
For the passwords.... I stop the forwarder, input the clear_text password and restart ....&lt;BR /&gt;
To verify LISTENING i do ... netstat -apn  | grep 10265&lt;BR /&gt;
I verified the path&lt;BR /&gt;
I checked file permissions and they are setup correctly recursively.&lt;BR /&gt;
I suppose I will try and recreate the certs making sure the passwords are correct&lt;/P&gt;

&lt;P&gt;Server.conf: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sslConfig]
sslRootCAPath = /&amp;lt;path_to_cert&amp;gt;/myCACertificate.pem
sslPassword = &amp;lt;password&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcp-ssl:10265]
_TCP_ROUTING = West01
index = isam9_0101
sourcetype = isam9

[SSL]
serverCert = /&amp;lt;path_to_cert&amp;gt;/myServerCertificate.pem
sslPassword = &amp;lt;password&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;splunkd.log (from forwarder)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ERROR TcpInputConfig - SSL context not found. Will not open raw  (SSL) IPv4 port 10265
ERROR message = SSL context not found. Will not open raw (SSL) IPv4 port 10265

ERROR TcpInputConfig - SSL server certificate not found, or password is wrong - SSL ports will not be opened
ERROR message = SSL server certificate not found, or password is wrong - SSL ports will not be opened 

ERROR SSLCommon - Can't read key file /&amp;lt;path_to_cert&amp;gt;/myServerCertificate.pem errno=151441516 error:0906D06C:PEM routines:PEM_read_bio:no start line.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 27 Jan 2017 18:12:54 GMT</pubDate>
    <dc:creator>rewritex</dc:creator>
    <dc:date>2017-01-27T18:12:54Z</dc:date>
    <item>
      <title>Receiving SSL data into a forwarder - ISAM9 request_syslogs to Splunk forwarder</title>
      <link>https://community.splunk.com/t5/Security/Receiving-SSL-data-into-a-forwarder-ISAM9-request-syslogs-to/m-p/262012#M7180</link>
      <description>&lt;P&gt;IBM Security Access Manager v9 build 9.0.1.0&lt;BR /&gt;
* There is a bug which doesn't allow syslog to be sent of UDP, but TLS-TCP works. The bug is fixed in 9.0.2.0&lt;/P&gt;

&lt;P&gt;On the &lt;STRONG&gt;ISAM9&lt;/STRONG&gt; side, within the proxy I have setup the logcfg parameter to send syslog out.&lt;/P&gt;

&lt;P&gt;server-log-cfg = rsyslog server=10.10.10.10,port=10265,log_id=server01_msg_webseald-default.log,ssl_keyfile=default_qdsrv.kdb,ssl_stashfile=default_qdsrv.sth&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;On the Splunk Forwarder side:&lt;/STRONG&gt; ( i send the logs to an intermediate forwarder which sends to the cluster)&lt;BR /&gt;
In the Inputs.conf I have tried the variations - [tcp://:10265], [splunktcp-ssl://:10265], [tcp-ssl:10265] - switching out the : to ://: to //: since docs were not to clear. &lt;/P&gt;

&lt;P&gt;When using splunktcp or tcp-ssl my splunkd.log (on the forwarder) reports these are reserved for Splunk2Splunk. Also, when I run netstat -apn | grep 10265 ... its not listening.&lt;/P&gt;

&lt;P&gt;Question: I'm not sure if I generated a SSL cert correctly. I followed this link: &lt;A href="https://answers.splunk.com/answers/130860/how-to-get-tcp-ssl-input-for-splunk-6-0-to-work.html" target="_blank"&gt;https://answers.splunk.com/answers/130860/how-to-get-tcp-ssl-input-for-splunk-6-0-to-work.html&lt;/A&gt; but it can't find the genSignedServerCert.py file referenced in the script &lt;CODE&gt;/opt/splunk/bin/genSignedServerCert.sh -d /opt/splunk/etc/certs -n splunk -c splunk -p&lt;/CODE&gt; so it fails.&lt;/P&gt;

&lt;P&gt;Has anyone worked on this ISAM9 -&amp;gt; splunk forwarding?&lt;BR /&gt;
Any accurate advice on howto receive SSL data into a forwarder?&lt;/P&gt;

&lt;P&gt;Splunk 6.5.2&lt;BR /&gt;
Splunk forwarder 6.4.3&lt;/P&gt;

&lt;P&gt;Thank You,&lt;BR /&gt;
Sean&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:36:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Receiving-SSL-data-into-a-forwarder-ISAM9-request-syslogs-to/m-p/262012#M7180</guid>
      <dc:creator>rewritex</dc:creator>
      <dc:date>2020-09-29T12:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving SSL data into a forwarder - ISAM9 request_syslogs to Splunk forwarder</title>
      <link>https://community.splunk.com/t5/Security/Receiving-SSL-data-into-a-forwarder-ISAM9-request-syslogs-to/m-p/262013#M7181</link>
      <description>&lt;P&gt;Look for [tcp-ssl] stanza in &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf&lt;/A&gt;. It should accept data from non-splunk inputs.&lt;/P&gt;

&lt;P&gt;To check if certs are valid, verify with openssl :&lt;/P&gt;

&lt;P&gt;openssl verify -CAfile  [ca-bundle.crt]   [certificate.crt]&lt;/P&gt;

&lt;P&gt;Please post splunkd.log errors that you see.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 01:31:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Receiving-SSL-data-into-a-forwarder-ISAM9-request-syslogs-to/m-p/262013#M7181</guid>
      <dc:creator>adhoke_splunk</dc:creator>
      <dc:date>2017-01-27T01:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving SSL data into a forwarder - ISAM9 request_syslogs to Splunk forwarder</title>
      <link>https://community.splunk.com/t5/Security/Receiving-SSL-data-into-a-forwarder-ISAM9-request-syslogs-to/m-p/262014#M7182</link>
      <description>&lt;P&gt;No port is opening on my server... SSL cert issues&lt;/P&gt;

&lt;P&gt;Things of changed in version 6.5.2 so I updated the files using these links.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.2/Admin/Inputsconf"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.2/Admin/Inputsconf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.2/Admin/Serverconf"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.2/Admin/Serverconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I've reviewed the passwords and viewed the .pem cert files for a ----start---- line and i'm pretty positive things are correct.&lt;BR /&gt;
For the passwords.... I stop the forwarder, input the clear_text password and restart ....&lt;BR /&gt;
To verify LISTENING i do ... netstat -apn  | grep 10265&lt;BR /&gt;
I verified the path&lt;BR /&gt;
I checked file permissions and they are setup correctly recursively.&lt;BR /&gt;
I suppose I will try and recreate the certs making sure the passwords are correct&lt;/P&gt;

&lt;P&gt;Server.conf: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sslConfig]
sslRootCAPath = /&amp;lt;path_to_cert&amp;gt;/myCACertificate.pem
sslPassword = &amp;lt;password&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcp-ssl:10265]
_TCP_ROUTING = West01
index = isam9_0101
sourcetype = isam9

[SSL]
serverCert = /&amp;lt;path_to_cert&amp;gt;/myServerCertificate.pem
sslPassword = &amp;lt;password&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;splunkd.log (from forwarder)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ERROR TcpInputConfig - SSL context not found. Will not open raw  (SSL) IPv4 port 10265
ERROR message = SSL context not found. Will not open raw (SSL) IPv4 port 10265

ERROR TcpInputConfig - SSL server certificate not found, or password is wrong - SSL ports will not be opened
ERROR message = SSL server certificate not found, or password is wrong - SSL ports will not be opened 

ERROR SSLCommon - Can't read key file /&amp;lt;path_to_cert&amp;gt;/myServerCertificate.pem errno=151441516 error:0906D06C:PEM routines:PEM_read_bio:no start line.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 Jan 2017 18:12:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Receiving-SSL-data-into-a-forwarder-ISAM9-request-syslogs-to/m-p/262014#M7182</guid>
      <dc:creator>rewritex</dc:creator>
      <dc:date>2017-01-27T18:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving SSL data into a forwarder - ISAM9 request_syslogs to Splunk forwarder</title>
      <link>https://community.splunk.com/t5/Security/Receiving-SSL-data-into-a-forwarder-ISAM9-request-syslogs-to/m-p/262015#M7183</link>
      <description>&lt;P&gt;Is the private key added to serverCert? if not, follow this:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/55395/certificate-errors-for-forwarder.html"&gt;https://answers.splunk.com/answers/55395/certificate-errors-for-forwarder.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 18:59:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Receiving-SSL-data-into-a-forwarder-ISAM9-request-syslogs-to/m-p/262015#M7183</guid>
      <dc:creator>adhoke_splunk</dc:creator>
      <dc:date>2017-01-27T18:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving SSL data into a forwarder - ISAM9 request_syslogs to Splunk forwarder</title>
      <link>https://community.splunk.com/t5/Security/Receiving-SSL-data-into-a-forwarder-ISAM9-request-syslogs-to/m-p/262016#M7184</link>
      <description>&lt;P&gt;I will need to double check if the key is in the cert. &lt;/P&gt;

&lt;P&gt;The other issue that just started is as I modify the inputs.conf and server.conf ... Some of my other indexes stop receiving data and once I # comment out these new SSL entries, the indexes start working again. The inputs for these indexes use a standard [monitor://] input ... &lt;/P&gt;

&lt;P&gt;My short-term goal is to accept TCP-SSL connections in the forwarder but keep the inter-splunk traffic non-SSL for now. I do plan to go change but not at thsi time&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:50:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Receiving-SSL-data-into-a-forwarder-ISAM9-request-syslogs-to/m-p/262016#M7184</guid>
      <dc:creator>rewritex</dc:creator>
      <dc:date>2017-01-31T15:50:24Z</dc:date>
    </item>
  </channel>
</rss>

