run_docker_build SSL verification.
See original GitHub issueWould it be possible to add ssl_verify: false
to the config section of run_docker_build.sh so that conda
does not verify the SSL certificate. When using a local
certificate, this is the only way to get through the firewall using conda
.
Or just add the following information to the documentation, that would also be very useful.
Add a local certificate on Ubuntu for docker to load the docker image using https://
1. Copy CA cert to /usr/local/share/ca-certificates.
2. sudo update-ca-certificates
3. sudo service docker restart
config=$(cat <<CONDARC
channels:
- conda-forge
- defaults
conda-build:
root-dir: /staged-recipes/build_artefacts
always_yes: true
show_channel_urls: true
ssl_verify: false
CONDARC
) ```
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Verify repository client with certificates - Docker Documentation
A custom certificate is configured by creating a directory under /etc/docker/certs.d using the same name as the registry's hostname, such as localhost ....
Read more >SSL certificate verification fails inside docker container on ...
When I run wget inside of a docker container on one specific server it cannot verify certificates. The same wget works fine on...
Read more >docker-compose build -> SSL error - GitHub
But when I try to run docker-compose I continue to get the error ... SSL error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed ...
Read more >Configure Self-Signed SSL For Nginx Docker From A Scratch
What We're Doing. Creating and configuring a Docker container from scratch with Alpine; Creating a new Self-Signed Certificate; Trusting the certificate with ...
Read more >How to specify and use a cert file during a docker build - Reddit
My local docker builds are now failing to download… ... verify failed:ssl/statem/statem_clnt.c:1913: #8 0.233 ERROR: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I tried it and it works very well.
Going to go ahead and close this out as it seems the solution is outside of the scope of conda-forge. Though recommendations have been made that should help.