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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...