Can't download files from github inside of docker container
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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