<?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 Command modular shell script's curl request returning exit code 77 when using https. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Command-modular-shell-script-s-curl-request-returning-exit-code/m-p/515579#M87303</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a command modular input, which calls a shell script. There is a curl HTTPS command in the script. I am able to run the curl command as well as the shell script successfully from a command prompt. But when being called through command modular, the curl's exit code is 0 only when I use http. When I change the curl url to https, it starts returning exit code 77.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am still trying to improve my debugging skills. Any suggestion/guidance would be helpful&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sat, 22 Aug 2020 02:54:01 GMT</pubDate>
    <dc:creator>bindu321</dc:creator>
    <dc:date>2020-08-22T02:54:01Z</dc:date>
    <item>
      <title>Command modular shell script's curl request returning exit code 77 when using https.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Command-modular-shell-script-s-curl-request-returning-exit-code/m-p/515579#M87303</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a command modular input, which calls a shell script. There is a curl HTTPS command in the script. I am able to run the curl command as well as the shell script successfully from a command prompt. But when being called through command modular, the curl's exit code is 0 only when I use http. When I change the curl url to https, it starts returning exit code 77.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am still trying to improve my debugging skills. Any suggestion/guidance would be helpful&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 22 Aug 2020 02:54:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Command-modular-shell-script-s-curl-request-returning-exit-code/m-p/515579#M87303</guid>
      <dc:creator>bindu321</dc:creator>
      <dc:date>2020-08-22T02:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Command modular shell script's curl request returning exit code 77 when using https.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Command-modular-shell-script-s-curl-request-returning-exit-code/m-p/570442#M101096</link>
      <description>&lt;P&gt;My workaround was to use "-k" with the curl command inside the script.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 09:48:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Command-modular-shell-script-s-curl-request-returning-exit-code/m-p/570442#M101096</guid>
      <dc:creator>andreibanaru</dc:creator>
      <dc:date>2021-10-11T09:48:42Z</dc:date>
    </item>
  </channel>
</rss>

