Typo and correction of OpenWrt / LuCI camel case
parent
9582195556
commit
47160e0bc7
|
@ -1,17 +1,17 @@
|
||||||
Setup and run acme.sh on your OpenWRT router and have https secured management.
|
Setup and run acme.sh on your [OpenWrt](https://openwrt.org) router and have HTTPS secured management.
|
||||||
|
|
||||||
### Step 1: Install packages
|
### Step 1: Install packages
|
||||||
|
|
||||||
`opkg install luci-ssl-openssl acme luci-app-acme`
|
`opkg install luci-ssl-openssl acme luci-app-acme`
|
||||||
|
|
||||||
If you want to use DNS-based certificate verificiation, also install the DNS providers:
|
If you want to use DNS-based certificate verification, also install the DNS providers:
|
||||||
|
|
||||||
`opkg install acme-dnsapi`
|
`opkg install acme-dnsapi`
|
||||||
|
|
||||||
### Step 2: Configure Web Server
|
### Step 2: Configure Web Server
|
||||||
Here we'll tell uhttpd redirect to https
|
Here we'll tell uhttpd redirect to HTTPS.
|
||||||
|
|
||||||
These commands use the OpenWRT [`uci` command](https://wiki.openwrt.org/doc/uci), a brilliant way to parse, get, set, and edit values and sections from config files. It makes scripting OpenWRT a breeze.
|
These commands use the OpenWrt [`uci` command](https://wiki.openwrt.org/doc/uci), a brilliant way to parse, get, set, and edit values and sections from config files. It makes scripting OpenWrt a breeze.
|
||||||
|
|
||||||
```
|
```
|
||||||
uci set uhttpd.main.redirect_https=1
|
uci set uhttpd.main.redirect_https=1
|
||||||
|
@ -22,7 +22,7 @@ uci commit
|
||||||
### Step 3: Configure acme.sh and get your certificate
|
### Step 3: Configure acme.sh and get your certificate
|
||||||
On your router:
|
On your router:
|
||||||
|
|
||||||
Navigate to `Services -> ACME certs` in LUCI and configure your certificate details. Make sure to select 'Use for uhttpd', and 'Enabled' for your configured certificate. If you prefer to use the command line, simply edit `/etc/config/acme`, and run `/etc/init.d/acme start` afterwards.
|
Navigate to `Services -> ACME certs` in LuCI and configure your certificate details. Make sure to select 'Use for uhttpd', and 'Enabled' for your configured certificate. If you prefer to use the command line, simply edit `/etc/config/acme`, and run `/etc/init.d/acme start` afterwards.
|
||||||
|
|
||||||
### Step 4: Configure Firewall
|
### Step 4: Configure Firewall
|
||||||
Open or Forward LUCI Port for external access. (use Webinterface)
|
Open or forward LuCI port for external access. (use Webinterface)
|
Loading…
Reference in New Issue