acmesh-official / acme.sh

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

Using LetsEncrypt certificates with DD-WRT #1098

Open osteoboon opened 6 years ago

osteoboon commented 6 years ago

Hi, and thanks for everything you're doing and sharing on github.

This page https://github.com/Neilpang/acme.sh/wiki/How-to-run-on-DD-WRT-with-lighttpd discusses this subject ("Second, install opkg by running bootstrap."), but three years ago, Kong wrote on this page http://svn.dd-wrt.com/ticket/3311 that "Since bootstrap is unfinished and not maintained anymore we can close the ticket for now."

My question for you, as author of https://github.com/Neilpang/acme.sh/wiki/How-to-run-on-DD-WRT-with-lighttpd, is this: I'm running generic DD-WRT v24-sp2 mini on a Linksys WRT54GSv4, and although I have completed your step 1 ("First, enable JFFS from Administration->Management. The first time you use it you'll want to check the box to Clean internal flash storage. Once it's running (you may need to reboot), use a terminal to mkdir /jffs/opt, and mount it to the /opt directory using mount --bind /jffs/opt /opt. This line will also need to go into your startup script under Administration->Commands."), I'm finding that despite completing step 1 (and rebooting), there is no "bootstrap" executable on my dd-wrt system, and the bootstrap project seems (as written by Kong) to have been discontinued 3 years ago. Or I wonder if the bootstrap mentioned by Kong is a different bootstrap project than the one you mentioned in your How-to?

So do you have any thoughts on how I can move forward with your instructions under these circumstances? I have no "bootstrap" executable on my dd-wrt system:

root@wrt54gsv4:~# bootstrap -sh: bootstrap: not found root@wrt54gsv4:~#

Thank you.

Steps to reproduce

Debug log

acme.sh  --issue .....   --debug 2
Extarys commented 5 years ago

I know this is quite old but I'm running on the same issue. I'd like to acces my home devices from outside using afraid DDNS and I would like to make DDWRT manage the certificate.