Use router security certificate for external access to internal servers?

I have

  • Let's Encrypt wildcard security certificate set up on OpenWRT.
  • Everything set up correctly in uHTTPd to apply the certificate.
  • home.mydomain.com set via dns to direct to router's wan port.
  • (TEMPORARILY) Enabled external access to LUCI.
  • navigated to the domain, it directed to https, and I was able to log in with full https security.

This all works great. :tada:

My question...
Is it possible to have OpenWRT serve the certificate for internal servers?

example...
tv.mydomain.com:12345 is set via dns to route to the WAN ip and has a port forwarder to the internal tv server. This also works with http but now I want to set it up with https.

Do I have to copy my wildcard certificate to the tv server or is there a way for openwrt to serve up the certificate when any subdomain request to mydomain.com comes through.

Thanks!

Yes, it is possible. I use "nginx" as a reverse proxy, to do all the HTTPS work, in front of a couple of HTTP servers, including LuCi.

1 Like

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