Code Monkey home page Code Monkey logo

Comments (4)

wglambert avatar wglambert commented on July 17, 2024 1

The notice note: TLS certificate validation not implemented isn't an error in itself, so the . . . handshake failure is the actual error.
Perhaps you're getting redirected to a non https server?

$ docker run -it --rm busybox sh

# wget https://github.com/docker-library/busybox/archive/master
.zip
Connecting to github.com (192.30.253.112:443)
wget: note: TLS certificate validation not implemented
Connecting to codeload.github.com (192.30.253.121:443)
saving to 'master.zip'
master.zip           100% |*****************| 12795  0:00:00 ETA
'master.zip' saved

# unzip master.zip 
Archive:  master.zip
   creating: busybox-master/
  inflating: busybox-master/.travis.yml
  inflating: busybox-master/README.md

# wget https://www.google.com
Connecting to www.google.com (172.217.11.68:443)
wget: note: TLS certificate validation not implemented
saving to 'index.html'
index.html           100% |*****************| 12225  0:00:00 ETA
'index.html' saved

# cat index.html | head -c 100
<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="en"><head><meta content

from busybox.

ThisGuyCodes avatar ThisGuyCodes commented on July 17, 2024

How can we get certificate validation here? Or is there simply no way to safely connect from a busybox image.

from busybox.

tianon avatar tianon commented on July 17, 2024

My understanding is that it would require embedding a "full" SSL implementation such as OpenSSL in addition to somehow getting ca-certificates. I think users who need that are better off using a minimal distro like Alpine Linux which includes BusyBox with working SSL that has certificate verification out of the box (and is still ~4MB, so a very moderate increase over the size of this image, but also includes a full package manager).

from busybox.

wglambert avatar wglambert commented on July 17, 2024

Assuming this is resolved, and since I can't reproduce an error with wget and https I'm going to close.

from busybox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.