Getting Data In

Command modular shell script's curl request returning exit code 77 when using https.

bindu321
Engager

Hi,

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. 

 

I am still trying to improve my debugging skills. Any suggestion/guidance would be helpful 

Thanks

0 Karma

andreibanaru
Explorer

My workaround was to use "-k" with the curl command inside the script.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to February Tech Talks, Office Hours, and Webinars!

💌 Keep the new year’s momentum going with our February lineup of Community Office Hours, Tech Talks, ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Incident Response: Reduce Incident Recurrence with Automated Ticket Creation

Culture extends beyond work experience and coffee roast preferences on software engineering teams. Team ...