172.217.14.68Connecting to www.google.com (www.google.com)|2607:f8b0:4007:803::2004|:443... connected.GnuTLS:The TLS connection was non-properly terminated.
这很可能是由于从客户端到服务器端的TLS版本不匹配。看看这里:Unable to establish SSL connection upon...
busybox wget as included in the busybox base image doesn't verify TLS certificate: $ docker run -ti --rm busybox wget -q https://expired.badssl.com && echo $? wget: note: TLS certificate validation not implemented 0 While it prints an warning, most people won't realize this and are...
-d --debug Turn on debug output, meaning various information important to the developers of Wget if it does not work properly. Your system administrator may have chosen to compile Wget without debug support, in which case -d will not work. Please note that compiling with debug support is ...
The default is to retry 20 times, with the exception of fatal errors like "connection refused" or "not found" (404), which are not retried. -O file --output-document=file The documents will not be written to the appropriate files, but all will be concatenated together and written to ...
This option does not send an "AUTH TLS" command: it assumes the server speaks FTPS and directly starts an SSL/TLS connection. If the attempt is successful, the session continues just like regular FTPS ("PBSZ" and "PROT" are sent, etc.). Implicit FTPS is no longer a requirement for ...
GNU Wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies. Wget is non-interactive, meaning that it can work in the backgro
This option does not send an "AUTH TLS" command: it assumes the server speaks FTPS and directly starts an SSL/TLS connection. If the attempt is successful, the session continues just like regular FTPS ("PBSZ" and "PROT" are sent, etc.). Implicit FTPS is no longer a requirement for ...
Note that you don't need to specify this option if you just want the current invocation of Wget to retry downloading a file should the connection be lost midway through. This is the default behavior.-conly affects resumption of downloads startedpriorto this invocation of Wget, and whose loca...
wget --secure-protocol=TLSv1_2 https://example.com The above will force wget to connect over TLS 1.2. Conclusion Knowing the necessary command can help you at work. I hope the above gives you an idea of what you can do withwget....