<?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 How to encrypt password in app outputs.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-encrypt-password-in-app-outputs-conf/m-p/201927#M39955</link>
    <description>&lt;P&gt;I am deploying Indexer Cluster settings in an app to multiple Universal Forwarders via the Deployment Server. The issue I have is that they require the Indexer Cluster password to be sent in the &lt;CODE&gt;/local/outputs.conf&lt;/CODE&gt; file.&lt;/P&gt;

&lt;P&gt;App deployment works fine and a new outputs.conf is created on the Universal Forwarder under &lt;CODE&gt;$SPLUNK_HOME/etc/system/local&lt;/CODE&gt; with the required stanza and &lt;STRONG&gt;encrypted&lt;/STRONG&gt; password.&lt;/P&gt;

&lt;P&gt;The issue is that the password exists in clear text in 2 places;&lt;/P&gt;

&lt;P&gt;Deployment Server - &lt;CODE&gt;$SPLUNK_HOME/etc/deployment_apps/app_name/local/outputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Universal Forwarder - &lt;CODE&gt;$SPLUNK_HOME/etc/apps/app_name/local/outputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Is there a way for the password to be encrypted at all locations?&lt;/P&gt;</description>
    <pubDate>Wed, 28 Oct 2015 13:35:07 GMT</pubDate>
    <dc:creator>karlbosanquet</dc:creator>
    <dc:date>2015-10-28T13:35:07Z</dc:date>
    <item>
      <title>How to encrypt password in app outputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-encrypt-password-in-app-outputs-conf/m-p/201927#M39955</link>
      <description>&lt;P&gt;I am deploying Indexer Cluster settings in an app to multiple Universal Forwarders via the Deployment Server. The issue I have is that they require the Indexer Cluster password to be sent in the &lt;CODE&gt;/local/outputs.conf&lt;/CODE&gt; file.&lt;/P&gt;

&lt;P&gt;App deployment works fine and a new outputs.conf is created on the Universal Forwarder under &lt;CODE&gt;$SPLUNK_HOME/etc/system/local&lt;/CODE&gt; with the required stanza and &lt;STRONG&gt;encrypted&lt;/STRONG&gt; password.&lt;/P&gt;

&lt;P&gt;The issue is that the password exists in clear text in 2 places;&lt;/P&gt;

&lt;P&gt;Deployment Server - &lt;CODE&gt;$SPLUNK_HOME/etc/deployment_apps/app_name/local/outputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Universal Forwarder - &lt;CODE&gt;$SPLUNK_HOME/etc/apps/app_name/local/outputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Is there a way for the password to be encrypted at all locations?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 13:35:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-encrypt-password-in-app-outputs-conf/m-p/201927#M39955</guid>
      <dc:creator>karlbosanquet</dc:creator>
      <dc:date>2015-10-28T13:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to encrypt password in app outputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-encrypt-password-in-app-outputs-conf/m-p/201928#M39956</link>
      <description>&lt;P&gt;This problem seems to be known.  Read &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.2/Security/ConfigureSplunkforwardingtousesignedcertificates#Configure_your_forwarders_to_use_your_certificates"&gt;this section on the docs&lt;/A&gt; and it mentions this specifically.  It also gives a sort of workaround, too:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Warning:&lt;/STRONG&gt; If you configure inputs.conf or outputs.conf in an app directory, the password is NOT encrypted and the clear-text value remains in the file. For this reason, you may prefer to create different certificates (signed by the same root CA) to use when configuring SSL in app directories. &lt;/P&gt;

&lt;P&gt;By adding this answer the question will pop up to the top of the stack, so maybe someone else will have a better answer.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 00:26:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-encrypt-password-in-app-outputs-conf/m-p/201928#M39956</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2017-02-07T00:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to encrypt password in app outputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-encrypt-password-in-app-outputs-conf/m-p/201929#M39957</link>
      <description>&lt;P&gt;My current solution is a script which pushes the pass4SymmKey password out to Universal Forwarders, then I deploy an empty app from the Deployment Server called 'restart' with the restart services flag checked which restarts the UF service on all of the UFs, which hashes the password.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 21:01:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-encrypt-password-in-app-outputs-conf/m-p/201929#M39957</guid>
      <dc:creator>karlbosanquet</dc:creator>
      <dc:date>2017-02-07T21:01:49Z</dc:date>
    </item>
  </channel>
</rss>

