question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

run_docker_build SSL verification.

See original GitHub issue

Would 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:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
dnadeau4commented, Jan 30, 2017

I tried it and it works very well.

0reactions
jakirkhamcommented, Feb 19, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found