acmesh-official / acme.sh

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

feature request: wolfSSL support #4537

Open benny-de opened 1 year ago

benny-de commented 1 year ago

On embedded devices like OpenWRT wifi routers is often not much free space e.g. 1,2 MB. OpenWRT switched to wolfSSL. Yes, you can install openssl too or instead of wolfssl on openwrt devices, but with 1,2 MB free space it is a problem. So it would be nice if acme.sh could support wolfSSL too. Thank you very much.

Neilpang commented 1 year ago

does the wolfssl have a cli ? just like the openssl command.

benny-de commented 1 year ago

openwrt installs these wolfssl packages:

"# opkg list-installed |grep wolfssl" libustream-wolfssl20201210 - 2022-12-08-9217ab46-2 libwolfssl5.5.4.ee39414e - 5.5.4-stable-1 px5g-wolfssl - 6.2 wpad-basic-wolfssl - 2022-01-16-cff80b4f-15.2

=> "# px5g" PX5G X.509 Certificate Generator Utilit using WolfSSL Usage: [eckey|rsakey|selfsigned]

https://openwrt.org/packages/pkgdata/px5g-wolfssl https://github.com/openwrt/openwrt/blob/openwrt-21.02/package/utils/px5g-wolfssl/px5g-wolfssl.c

maybe this could help?

there is https://github.com/wolfSSL/wolfCLU#readme but this is not part of openwrt default image.