<?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 edit my configuration to add SSL on forwarders with self signed certificates? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-to-add-SSL-on-forwarders-with-self/m-p/205926#M40661</link>
    <description>&lt;P&gt;Hi, we got the same error message saying:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ERROR SSLCommon - Can't read certificate file "C:\Program Files\SplunkUniversalForwarder\etc\auth\complete_server_client_cert.pem" errno=33558651 error:0200107B:system library:fopen:Unknown error
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What is the correct way to determine the path to sslCertPath and sslRootCAPath? Can't find any solution in the web.&lt;BR /&gt;
Our universal forwarder is trying to forward data to a heavy forwarder. Without ssl being enabled, this just works fine.&lt;/P&gt;

&lt;P&gt;Anyone got an idea?&lt;/P&gt;

&lt;P&gt;Skalli&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2016 09:30:10 GMT</pubDate>
    <dc:creator>skalliger</dc:creator>
    <dc:date>2016-11-15T09:30:10Z</dc:date>
    <item>
      <title>How to edit my configuration to add SSL on forwarders with self signed certificates?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-to-add-SSL-on-forwarders-with-self/m-p/205925#M40660</link>
      <description>&lt;P&gt;I am working on adding SSL on forwarders with self signed certificates.&lt;/P&gt;

&lt;P&gt;Here is the /etc/system/local/outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server = xx.xx.x.xxx:9997
compressed = true

[tcpout-server://xx.xx.x.xxx:9997]
sslRootCAPath = C:\"Program Files"\SplunkUniversalForwarder\etc\certs\myCACertificate.pem
sslCertPath = C:\"Program Files"\SplunkUniversalForwarder\etc\certs\myNewServerCertificate.pem
sslPassword = &amp;lt;encrypted pass&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is the working /etc/system/local/outputs.conf before starting the SSL process.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server = xx.xx.x.xxx:9997

[tcpout-server://xx.xx.x.xxx:9997]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also made the following changes to etc/system/local/server.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sslConfig]
allowSslCompression = false
allowSslRenegotiation = false
sslKeysfilePassword = &amp;lt;encrypted pass&amp;gt;
sslVersions = tls1.1, tls1.2
sslVersionsForClient = tls1.1, tls1.2
caPath = C:\"Program Files"\SplunkUniversalForwarder\etc\certs
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I enabled debug in the splunkd log and pulled out what I believe to be relevant lines.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;DEBUG TcpOutputProc - Key file password requires decrypting
DEBUG TcpOutputProc - A value for 'sslVersions' is not present, defaulting to SSL3 and above
ERROR SSLCommon - Can't read certificate file C:\"Program Files"\SplunkUniversalForwarder\etc\certs\myNewServerCertificate.pem errno=33558651 error:0200107B:system library:fopen:Unknown error
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Jun 2016 20:33:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-to-add-SSL-on-forwarders-with-self/m-p/205925#M40660</guid>
      <dc:creator>chrisduimstra</dc:creator>
      <dc:date>2016-06-09T20:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my configuration to add SSL on forwarders with self signed certificates?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-to-add-SSL-on-forwarders-with-self/m-p/205926#M40661</link>
      <description>&lt;P&gt;Hi, we got the same error message saying:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ERROR SSLCommon - Can't read certificate file "C:\Program Files\SplunkUniversalForwarder\etc\auth\complete_server_client_cert.pem" errno=33558651 error:0200107B:system library:fopen:Unknown error
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What is the correct way to determine the path to sslCertPath and sslRootCAPath? Can't find any solution in the web.&lt;BR /&gt;
Our universal forwarder is trying to forward data to a heavy forwarder. Without ssl being enabled, this just works fine.&lt;/P&gt;

&lt;P&gt;Anyone got an idea?&lt;/P&gt;

&lt;P&gt;Skalli&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 09:30:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-to-add-SSL-on-forwarders-with-self/m-p/205926#M40661</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2016-11-15T09:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my configuration to add SSL on forwarders with self signed certificates?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-to-add-SSL-on-forwarders-with-self/m-p/205927#M40662</link>
      <description>&lt;P&gt;Alright, found the problem myself. Even if it's a Windows system, you are not allowed to escape the path (using &lt;STRONG&gt;" "&lt;/STRONG&gt;). So in OP's case he would need to modify his path from:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;C:\"Program Files"\SplunkUniversalForwarder\etc\certs
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;C:\Program Files\SplunkUniversalForwarder\etc\certs
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We had another problem after this but that was another point.&lt;/P&gt;

&lt;P&gt;Skalli&lt;/P&gt;

&lt;P&gt;P.S.: Just make sure if you use &lt;STRONG&gt;useClientSSLCompression&lt;/STRONG&gt; in your outputs.conf, it also must be specified in your inputs.conf (&lt;STRONG&gt;compression = true&lt;/STRONG&gt;) on the receiving end or no connection will be possible. That was the following problem.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 12:54:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-to-add-SSL-on-forwarders-with-self/m-p/205927#M40662</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2016-11-15T12:54:03Z</dc:date>
    </item>
  </channel>
</rss>

