Splunk Dev

SSL Error while running custom alert using python script.

manish_singh_77
Builder

Hi All,

I am getting an error message:

"[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)"
2020-06-10 08:22:04,117 ERROR : unique_id=51e81cec-aaf3-11ea-b2b2-069403cc3d18 aws_s3_bucketname=*********** error_msg="(<class 'ssl.SSLError'>, SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)'), <traceback object at 0x7f1c37d70a28>)" . 

I get this error message when trying to run the python script through custom alert, and the use case is to upload the CSV file from Splunk search results to the AWS S3 bucket. It is running fine when the script is executed without a custom alert.

Labels (2)
Tags (2)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...