<?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 On a Heavy forwarder that forwards events to a 3rd party device, how can I encrypt the traffic using certificates? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/On-a-Heavy-forwarder-that-forwards-events-to-a-3rd-party-device/m-p/403243#M71644</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;
I have an app on a HF that forwards events to a 3rd party device via unencrypted channel. I would like to encrypt the traffic using certificates which I received from a 3rd party (root.crt and sender.crt). &lt;/P&gt;

&lt;P&gt;This is the output.conf stanza I am trying to use which does not seem to work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout:3rdparty]
    server = &amp;lt;IP&amp;gt;:&amp;lt;Port&amp;gt;
    sslRootCAPath = $SPLUNK_HOME/etc/apps/3rdparty/local/root.crt
    sslCertPath = $SPLUNK_HOME/etc/apps/3rdparty/local/sender.crt
    requireClientCert = false
    sslVerifyServerCert = false
    sendCookedData = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;"Error initializing SSL context - check splunkd.log regarding configuration error for server "&lt;/P&gt;

&lt;P&gt;What additional steps do I need to take to accomplish this? &lt;/P&gt;</description>
    <pubDate>Wed, 15 Aug 2018 16:09:43 GMT</pubDate>
    <dc:creator>pete222</dc:creator>
    <dc:date>2018-08-15T16:09:43Z</dc:date>
    <item>
      <title>On a Heavy forwarder that forwards events to a 3rd party device, how can I encrypt the traffic using certificates?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/On-a-Heavy-forwarder-that-forwards-events-to-a-3rd-party-device/m-p/403243#M71644</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
I have an app on a HF that forwards events to a 3rd party device via unencrypted channel. I would like to encrypt the traffic using certificates which I received from a 3rd party (root.crt and sender.crt). &lt;/P&gt;

&lt;P&gt;This is the output.conf stanza I am trying to use which does not seem to work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout:3rdparty]
    server = &amp;lt;IP&amp;gt;:&amp;lt;Port&amp;gt;
    sslRootCAPath = $SPLUNK_HOME/etc/apps/3rdparty/local/root.crt
    sslCertPath = $SPLUNK_HOME/etc/apps/3rdparty/local/sender.crt
    requireClientCert = false
    sslVerifyServerCert = false
    sendCookedData = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;"Error initializing SSL context - check splunkd.log regarding configuration error for server "&lt;/P&gt;

&lt;P&gt;What additional steps do I need to take to accomplish this? &lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 16:09:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/On-a-Heavy-forwarder-that-forwards-events-to-a-3rd-party-device/m-p/403243#M71644</guid>
      <dc:creator>pete222</dc:creator>
      <dc:date>2018-08-15T16:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: On a Heavy forwarder that forwards events to a 3rd party device, how can I encrypt the traffic using certificates?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/On-a-Heavy-forwarder-that-forwards-events-to-a-3rd-party-device/m-p/403244#M71645</link>
      <description>&lt;P&gt;What does splunkd.log say about configuration errors? I think the &lt;CODE&gt;sslPassword&lt;/CODE&gt; setting is missing. Also, you need to configure inputs.conf on your receiver. &lt;/P&gt;

&lt;P&gt;The configurations structure which worked for me is,&lt;/P&gt;

&lt;P&gt;outputs.conf (on forwarders):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
sslPassword = xxxxxxxxxxxxxxxxxxxxxx
sslVersions = tls1.2
clientCert = $SPLUNK_HOME/etc/auth/myOrg/myOrgFWDcert.pem
sslRootCAPath = $SPLUNK_HOME/etc/auth/myOrg/myOrgCACertificate.pem
channelReapInterval = 60000
channelReapLowater = 10
channelTTL = 300000
dnsResolutionInterval = 300
negotiateNewProtocol = true
socksResolveDNS = false
useClientSSLCompression = true
[tcpout:my_idx_cluster]
server = idx1.com:9998, idx.com2:9998
useACK = true   
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;inputs.conf (On indexers):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SSL]
serverCert = $SPLUNK_HOME/etc/auth/myOrg/myOrgServerCertificate.pem
sslPassword = xxxxxxxxxxxxxxxxx
sslVersions = tls1.2

[splunktcp-ssl:9998]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Additionally, please refer to these links for more information,&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.2/Security/ConfigureSplunkforwardingtousesignedcertificates"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.2/Security/ConfigureSplunkforwardingtousesignedcertificates&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://conf.splunk.com/session/2015/conf2015_DWaddle_DefensePointSecurity_deploying_SplunkSSLBestPractices.pdf"&gt;https://conf.splunk.com/session/2015/conf2015_DWaddle_DefensePointSecurity_deploying_SplunkSSLBestPractices.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 18:45:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/On-a-Heavy-forwarder-that-forwards-events-to-a-3rd-party-device/m-p/403244#M71645</guid>
      <dc:creator>sudosplunk</dc:creator>
      <dc:date>2018-08-15T18:45:01Z</dc:date>
    </item>
  </channel>
</rss>

