How to setup HTTPS for web interface in OpenWRT

By default, you can log in to the OpenWRT firmware installed on your router using However, if you want to add encryption on that connection, you need to be able to login using To do that, you need to enable HTTPS support on the router. To do so, open a terminal window on your computer and follow the steps below.

Login to the router using SSH
$ ssh <enter>

Next, install the required packages
# opkg install px5g uhttpd-mod-tls luci-ssl <enter>

luci-ssl will allow you to use the https protocol to access the web interface.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s