....... [Mon Feb 3 16:14:16 CST 2025] Your cert is in: /root/.acme.sh/admin.tokisaki.top_ecc/admin.tokisaki.top.cer [Mon Feb 3 16:14:16 CST 2025] Your cert key is in: /root/.acme.sh/admin.tokisaki.top_ecc/admin.tokisaki.top.key [Mon Feb 3 16:14:16 CST 2025] The intermediate CA cert is in: /root/.acme.sh/admin.tokisaki.top_ecc/ca.cer [Mon Feb 3 16:14:16 CST 2025] And the full-chain cert is in: /root/.acme.sh/admin.tokisaki.top_ecc/fullchain.cer [Mon Feb 3 16:14:17 CST 2025] Installing key to: /etc/uhttpd.key [Mon Feb 3 16:14:17 CST 2025] Installing full chain to: /etc/uhttpd.crt [Mon Feb 3 16:14:17 CST 2025] Running reload cmd: /etc/init.d/uhttpd restart [Mon Feb 3 16:14:17 CST 2025] Reload successful
Preface
The luci-app-acme package included with OpenWRT is quite difficult to use, and there is no official documentation to be found (many LuCI plugins are in such a poor state; for example, tinyproxy is also long unmaintained…). Therefore, I chose to use the official original acme.sh.
Use the following command to force a certificate renewal:
1
./acme.sh --renew -d admin.tokisaki.top --force
If the installation is successful, the output will be as follows:
1 2 3 4 5 6 7 8 9
....... [Mon Feb 3 16:14:16 CST 2025] Your cert is in: /root/.acme.sh/admin.tokisaki.top_ecc/admin.tokisaki.top.cer [Mon Feb 3 16:14:16 CST 2025] Your cert key is in: /root/.acme.sh/admin.tokisaki.top_ecc/admin.tokisaki.top.key [Mon Feb 3 16:14:16 CST 2025] The intermediate CA cert is in: /root/.acme.sh/admin.tokisaki.top_ecc/ca.cer [Mon Feb 3 16:14:16 CST 2025] And the full-chain cert is in: /root/.acme.sh/admin.tokisaki.top_ecc/fullchain.cer [Mon Feb 3 16:14:17 CST 2025] Installing key to: /etc/uhttpd.key [Mon Feb 3 16:14:17 CST 2025] Installing full chain to: /etc/uhttpd.crt [Mon Feb 3 16:14:17 CST 2025] Running reload cmd: /etc/init.d/uhttpd restart [Mon Feb 3 16:14:17 CST 2025] Reload successful