In version 21.0 of OpenWrt, in order to support bidirectional certificate authentication for HTTPS, I used/usr/sbin/uhttpd-f - h/www -r OpenWrt - x/cgi bin - u/ubus - t 60- T 30- k 20- A 1- n 3- N 100- R - p 0.0.0.0:80- p [::]: 80-C/tmp/uhttpd. ctr - K/tmp/uhttpd. key - c/tmp/ca.crt - L - s 0.0.0.0:443- s [::]: 443 to start UHTTD, but UHTTD cannot listen on port 443, and the web page cannot be opened with a message rejecting the connection. What is the reason for this? thank you
wow, that mass of text was almost readable, redo, using the </> button in the edit window.
openwrt 21 isn't supported any more, you should upgrade.
Probably replace ctr
with crt
in command line. On newer OpenWRT versions you can plainly put your certs replacing /etc/uhttpd* and no config/command tricks needed after?
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </>
" button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
ubus call system board
cat /etc/config/network
cat /etc/config/dhcp
cat /etc/config/firewall
cat /etc/config/uhttpd
1 Like