acmesh-official / acme.sh

A pure Unix shell script implementing ACME client protocol
https://acme.sh
GNU General Public License v3.0
39.13k stars 4.95k forks source link

It seems that it does not work with BusyBox wget #5319

Open vanyauhalin opened 2 weeks ago

vanyauhalin commented 2 weeks ago

Hello, I tried to obtain a test certificate using the built-in wget on a Docker Alpine image, but I encountered an error. It seems like acme.sh does not fit well with the BusyBox wget implementation. It works well with GNU wget or curl.

acme.sh --issue --staging --domain test.vanyauhalin.me --webroot /var/www/test.vanyauhalin.me
acme.sh --version
https://github.com/acmesh-official/acme.sh
v3.1.0
wget: unrecognized option: version
BusyBox v1.36.1 (2024-06-10 07:11:47 UTC) multi-call binary.
curl --version
curl 8.10.1 (x86_64-alpine-linux-musl) libcurl/8.10.1 OpenSSL/3.3.2 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 c-ares/1.33.1 libidn2/2.3.7 libpsl/0.21.5 nghttp2/1.62.1
Release-Date: 2024-09-18
wget --version
GNU Wget 1.24.5 built on linux-musl.

Additional References

4846

4931

github-actions[bot] commented 2 weeks ago

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.