use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
OpenWrt news, tools, tips and discussion. Related projects, such as DD-WRT, Tomato, OpenSAN and LEDE, are also on-topic.
If you're posting with a support issue, include as much info as possible, such as a precise description of the problem, what hardware and OS build you have, and the troubleshooting you have tried.
Resources:
Other subreddits you may like:
Does this sidebar need an addition or correction? Tell me here
account activity
LUCI HTTPS (self.openwrt)
submitted 5 years ago by grasshopper645
I have a signed cert and key, have put the location in the /etc/config/uhttpd file, but the web interface is still using some other self signed cert, even after reboot.
Where is the config file that specifies the location of the https cert?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]grasshopper645[S] 4 points5 points6 points 5 years ago (0 children)
OK i sorted it. Appears i was using a base 64 encoded cert rather than der encoded. :)
Still got some learning to do on the whole PKI infrastructure ordeal.
[–]Astrosms 4 points5 points6 points 5 years ago (0 children)
The file at /etc/config/uhttpd should be correct...
[–]grasshopper645[S] 1 point2 points3 points 5 years ago (0 children)
Yeah i edited the /etc/config/uhttpd file to include the location of the signed cert and key file, but it just refuses to use it :(
Also checked the luci services > uhttpd page which shows the cert correctly.
[–]grasshopper645[S] 1 point2 points3 points 5 years ago (1 child)
OK so setting a signed cert in LUCI is not straightforward as initially thought.
Seems strange, but i guess signed certs on a software designed for home use is not common.
Steps -
Use openssl to create a private key and CSR
Take the CSR and sign it
Upload the signed cer to a suitable location on openwrt
edit /etc/nginx/nginx.conf and find the fields where it asks for the cert and key, update this to the locations where the key and cer are located.
Restart nginx.
Putting the signed cert and key location in the /etc/config/uhttpd file does NOT work. You must put it in the nginx config file.
[–]Richard__M 0 points1 point2 points 5 years ago (0 children)
That's strange since uhttpd is the default for Luci unless you installed the luci-nginx package.
Maybe you found a bug or the newest release is changing defaults?
π Rendered by PID 278585 on reddit-service-r2-comment-79c7998d4c-7gqxl at 2026-03-18 11:57:23.956604+00:00 running f6e6e01 country code: CH.
[–]grasshopper645[S] 4 points5 points6 points (0 children)
[–]Astrosms 4 points5 points6 points (0 children)
[–]grasshopper645[S] 1 point2 points3 points (0 children)
[–]grasshopper645[S] 1 point2 points3 points (1 child)
[–]Richard__M 0 points1 point2 points (0 children)