sorry, I should have been more precise. I meant can you use wget to obtain a file from elsewhere e.g. wget google.com and it just fails for wget https://dl.eff.org/certbot-auto ? (which would indicate a firewall issue ) or can you get files from everywhere other than certbot ?
i think the best way to install this on a router will be to generate these on a linux box & then transfer them over. since the router run a minihttpd & a micro version of linux, not sure if all dependencies can be installed. moreover its 5+ Mb in size
The difference between your attempt to get the Certbot from EFF and from Github could be that EFF uses LE certificate, while Github uses DigiCert.
Considering that the last build of TomatoUSB is dated 2010, you might need to update CA bundle on that Linux for your connection to anything LE-secured started working.
P.S. Wget allows you to disable certificate checks with āno-check-certificate, even though normally it is not such a good idea.
I would also expect the response to be different, but itās worth a shot - we donāt really know what sort of possibly custom-built tomato-variety wget might be there Also it could be a (transparent) proxy on the way that actually fails to accept LE cert and closes the connection abruptly.
Just throwing another idea out there - could it be that EFF has too strict a set of cipher suite or protocol requirements for the archaic wget? I saw someone else mention itās like 6 years old, and I saw in another thread older versions of wget were too dumb to grok SAN (which was invented like eight years ago), maybe they can also be too old to know how to speak TLS 1.0, or do AES rather than RC4, or whatever? It might not even understand SHA2 family hashes? I think if client & server canāt agree on some protocol requirements the whole SSL/TLS session just gets torn down so that thereās no chance you think everything is OK which might give this āConnection resetā error.
If thatās a real problem, obviously the EFF doesnāt want to drive their whole siteās requirements back to the bad old days of RC4 over SSL 3.0 with SHA1, but maybe a special ādownload certbot for old crappy systemsā URL could be put up, either by the EFF or a volunteer since it shouldnāt be the main download site but just for people running software thatās older than South Sudan ?
Very good thinking there, @tialaramex It could be the case of mismatching ciphers indeed, similar to how you could try using old PuTTY to SSH to Debian Jessie and would not be able to, unless upgraded PuTTY or inserted a legacy cipher into sshd.conf
In OpenWRT you could fix it by installing the normal wget with opkg. I believe Tomato should have something similar (ipkg) which might get you some modern wget/curl installed. Try googling for wget .ipk
Iām not saying that Tomato canāt do SSL per se. Iām just stating that busybox wget could not do SSL in 2010 (and dropped some options too) and that today it can do it only by calling a helper it seems (such as openssl s_client)