Use this script
Original script here
- Edit script section "alt_names" for your router names and IP's
- Copy to router e.g., /tmp, check file permissions for execution, run script
2.1. If error occurred, delete folder /tmp/tls and analyze errors - Copy root cert /tmp/tls/ca.crt to PC/Smart/Tablet, add to trusted
- Сopy with replacement /tmp/tls/uhttpd.key and /tmp/tls/uhttpd.crt to /etc
- Restart uhttpd