openssl-tools is another required package to get the certificate. also, we should run ./acme --install to avoid the "Only RSA or EC key is supported" error
parent
8542073d1a
commit
1f5557eeea
|
@ -4,7 +4,7 @@ Setup and run acme.sh on your OpenWRT router and have https secured management.
|
||||||
|
|
||||||
### Step 1: Install packages
|
### Step 1: Install packages
|
||||||
|
|
||||||
`opkg install curl ca-certificates uhttpd-mod-tls`
|
`opkg install curl ca-certificates uhttpd-mod-tls openssl-util`
|
||||||
|
|
||||||
On LEDE 17.01.2 you will need
|
On LEDE 17.01.2 you will need
|
||||||
|
|
||||||
|
@ -44,6 +44,7 @@ On your router:
|
||||||
mkdir ~/.https
|
mkdir ~/.https
|
||||||
curl https://raw.githubusercontent.com/Neilpang/acme.sh/master/acme.sh > acme.sh
|
curl https://raw.githubusercontent.com/Neilpang/acme.sh/master/acme.sh > acme.sh
|
||||||
chmod a+x "acme.sh"
|
chmod a+x "acme.sh"
|
||||||
|
./acme.sh --install
|
||||||
DOMAIN=my.router.net ## this domain must actually point to your router
|
DOMAIN=my.router.net ## this domain must actually point to your router
|
||||||
./acme.sh --issue -d $DOMAIN -w /www
|
./acme.sh --issue -d $DOMAIN -w /www
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue