<?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 Error while executing scripted input deployed from universal forwarder. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Error-while-executing-scripted-input-deployed-from-universal/m-p/480227#M82359</link>
    <description>&lt;P&gt;I have created a scripted input and deployed it from the deployment server to the universal forwarder, but it's giving me the following error:&lt;/P&gt;

&lt;P&gt;ERROR ExecProcessor - message from "/opt/splunk/etc/apps/tmdb/bin/tmdb.sh" curl: (77) Problem with the SSL CA cert (path? access rights&lt;/P&gt;

&lt;P&gt;i gave all permissions to these files and folders, but was unable to resolve the issue:&lt;/P&gt;

&lt;P&gt;/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt&lt;BR /&gt;
/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pempwd&lt;BR /&gt;
/etc/pki/CA/certs&lt;BR /&gt;
/etc/pki/CA/cri &lt;/P&gt;

&lt;P&gt;I have my clusters on GCP (Google Cloud Platform).&lt;/P&gt;

&lt;P&gt;Could someone please help me to resolve this?&lt;/P&gt;</description>
    <pubDate>Fri, 17 Apr 2020 17:09:37 GMT</pubDate>
    <dc:creator>shashi12345678</dc:creator>
    <dc:date>2020-04-17T17:09:37Z</dc:date>
    <item>
      <title>Error while executing scripted input deployed from universal forwarder.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Error-while-executing-scripted-input-deployed-from-universal/m-p/480227#M82359</link>
      <description>&lt;P&gt;I have created a scripted input and deployed it from the deployment server to the universal forwarder, but it's giving me the following error:&lt;/P&gt;

&lt;P&gt;ERROR ExecProcessor - message from "/opt/splunk/etc/apps/tmdb/bin/tmdb.sh" curl: (77) Problem with the SSL CA cert (path? access rights&lt;/P&gt;

&lt;P&gt;i gave all permissions to these files and folders, but was unable to resolve the issue:&lt;/P&gt;

&lt;P&gt;/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt&lt;BR /&gt;
/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pempwd&lt;BR /&gt;
/etc/pki/CA/certs&lt;BR /&gt;
/etc/pki/CA/cri &lt;/P&gt;

&lt;P&gt;I have my clusters on GCP (Google Cloud Platform).&lt;/P&gt;

&lt;P&gt;Could someone please help me to resolve this?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 17:09:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Error-while-executing-scripted-input-deployed-from-universal/m-p/480227#M82359</guid>
      <dc:creator>shashi12345678</dc:creator>
      <dc:date>2020-04-17T17:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing scripted input deployed from universal forwarder.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Error-while-executing-scripted-input-deployed-from-universal/m-p/480228#M82360</link>
      <description>&lt;P&gt;Hello @shashi12345678 ,&lt;/P&gt;

&lt;P&gt;the description of the error 77 could be misleading, read it as "curl cannot read the CA cert and it doesn't know what could went wrong. May be a wrong path? May be access right? May be something else?"&lt;/P&gt;

&lt;P&gt;man 1 curl mentions: "77     Problem with &lt;STRONG&gt;reading&lt;/STRONG&gt; the SSL &lt;STRONG&gt;CA&lt;/STRONG&gt; cert (path? access rights?)."&lt;/P&gt;

&lt;P&gt;Try to run the curl command with -vvvv switch, this can reveal some certificate related  problems.&lt;/P&gt;

&lt;P&gt;If it didn't help to find a culprit, a temporary workaround is to add a &lt;STRONG&gt;-k&lt;/STRONG&gt; switch to the curl command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;       -k, --insecure
              (SSL) This option explicitly allows curl to perform "insecure"  SSL  connections 
              and  transfers. All SSL connections are attempted to be made secure by using the
              CA certificate bundle installed by default. This makes all  connections  consid‐
              ered "insecure" fail unless -k, --insecure is used.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;additonally you can save a trace for an analisys by using &lt;STRONG&gt;--trace-ascii&lt;/STRONG&gt; /tmp/trace.txt:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;       --trace-ascii &amp;lt;file&amp;gt;
              Enables  a full trace dump of all incoming and outgoing data, including descrip‐
              tive information, to the given output file. Use "-" as filename to have the out‐
              put sent to stdout.

              This  is very similar to --trace, but leaves out the hex part and only shows the
              ASCII part of the dump. It makes smaller output that might be easier to read for
              untrained humans.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Access/Rights problems can be checked with a &lt;STRONG&gt;strace&lt;/STRONG&gt; command (prepend your curl command with "strace -e open" and grep for "denied" string in the output).&lt;/P&gt;

&lt;P&gt;If it doesn't help you can post the full curl command incl all switches (mask private data).&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 21:57:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Error-while-executing-scripted-input-deployed-from-universal/m-p/480228#M82360</guid>
      <dc:creator>PavelP</dc:creator>
      <dc:date>2020-04-17T21:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing scripted input deployed from universal forwarder.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Error-while-executing-scripted-input-deployed-from-universal/m-p/480229#M82361</link>
      <description>&lt;P&gt;@PavelP Thanks, It worked by using --insecure. &lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 16:05:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Error-while-executing-scripted-input-deployed-from-universal/m-p/480229#M82361</guid>
      <dc:creator>shashi12345678</dc:creator>
      <dc:date>2020-04-27T16:05:08Z</dc:date>
    </item>
  </channel>
</rss>

