yes, the web server.
open-ssl generatse its certificates at install , restarting uhttpd does not seem to help
if you say so ...
root@OpenWrt:~# opkg install luci-ssl
Installing luci-ssl (25.250.61039~923f8d9) to root...
Downloading https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/luci/luci-ssl_25.250.61039~923f8d9_all.ipk
Installing px5g-mbedtls (11) to root...
Downloading https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/base/px5g-mbedtls_11_aarch64_cortex-a53.ipk
Configuring px5g-mbedtls.
Configuring luci-ssl.
root@OpenWrt:~# service uhttpd restart
4+0 records in
4+0 records out
Generating EC private key
Generating selfsigned certificate with subject 'C=ZZ,ST=Somewhere,L=Unknown,O=OpenWrt7df4fa48,CN=OpenWrt,' and validity 20250922105952-20261024105952
...
-rw------- 1 root root 121 Sep 22 10:59 uhttpd.key
-rw-r--r-- 1 root root 561 Sep 22 10:59 uhttpd.crt
root@OpenWrt:/etc# rm uhttpd.key uhttpd.crt
root@OpenWrt:/etc# service uhttpd restart
4+0 records in
4+0 records out
Generating EC private key
Generating selfsigned certificate with subject 'C=ZZ,ST=Somewhere,L=Unknown,O=Op enWrtf5656fe5,CN=OpenWrt,' and validity 20250922110200-20261024110200
root@OpenWrt:/etc# ls -ltr
...
-rw------- 1 root root 121 Sep 22 11:02 uhttpd.key
-rw-r--r-- 1 root root 562 Sep 22 11:02 uhttpd.crt
Ah i forgot to remove the old keys / thx for the info , I will try again
After multiple attempts I got it now fixed. The main problem was I couldn’t get a DNS hostname for my access point when I set it to a static IP itself. After appointing the IP from the main router and the access point to DHCP client a correct hostname was provided to the access point. This DNS hostname I can use in a certificate and now it works with this setup, following option C:
(P.s. you can skip the install of luci-app-uhttpd as this is now default in the clean install).
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.