LuCI HTTPS setup

I followed the instructions here to set up https for luci but I'm stuck at N° 7


The instructions at N° 7 are not clear to me........

If you have the crt and key file locally on your PC, you can select them and they will be uploaded to the router.
Otherwise if they are already in the router you can browse where the files are.

1 Like

Thanks,
Yes the files are in the router at /etc/ssl/mycert.crt and mycert.key
Do I delete the existing uhttpd.crt file first ?
I can't yet see the way to browse to my keys.....

If you want to upload the key/cert using LuCI:

  • Browse to /etc/luci-uploads
  • Press Upload file...
  • Select the file on your PC
  • Press Upload file
  • Select the uploaded file
2 Likes

I have my cert/keys on the router, my problem is how to install them....

Maybe I just need to change these lines in /etc/config/uhttpd.conf to point to my cert/key files...?
option cert '/etc/uhttpd.crt'
option key '/etc/uhttpd.key'

1 Like

OK that worked....the instructions are all good, except at stage N°7. Thanks for stimulating me to get this working......

1 Like

It works for me, as noted above on OpenWrt 19.07.4.
Perhaps you missed the step where you need to select the uploaded file and apply the changes.

1 Like

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.