splunk / splunk/docker-splunk

Can't download files from github inside of docker container

Open
#663 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
549
Forks
277
Avg merge
3d 9h
Merged PRs (30d)
2

Description

We are having issue with downloading any files inside of docker containers running based on splunk latest images (or 9.0). When trying to download files with curl from github (in our example https://github.com/splunk/sdk-app-collection/releases/download/v1.1.0/sdkappcollection.tgz) we get following error:

Request failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)>

From websites other than github we can use curl without any issues.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the curl download of the linked GitHub release inside containers based on the Splunk latest and 9.0 images. Start by inspecting the container certificate trust configuration and compare the failing GitHub request with downloads from other websites. Done means the GitHub file downloads successfully without disabling certificate verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.