Join Local Network with Duckdns and Lets encrypt
Hi guys I noticed Join's new web app suports local https which is great. Only 2 major draw backs to this approach is
1. Every time the ip changes (I assume) you would have to retrust the self signed cert
2. This method is highly susecptable to a mitm attack on a public network.
My idea is could you give an advanced option in join to always call a specified url for local connections (example: mylocaljoin.duckdns.org) and allow the user to import his/her own ssl cert pem file? I was hoping by using a trusted letsencryt cert mitm attacks could be avoided and new options could be used like avoiding the conflict with self signed certs and pwa's, etc. As for how the duckdns would now the local ip, a tasker automation could be set to push the local ip to duckdns say every time the wifi disconnects and reconnects or at a set interval.
This could theoretically be more elegantly automated by join pushing the local ip to duckdns url and auto updating the lets encrypt server certificate every 3 months. Duckdns could also be replaced with auto generated domains per user (example localip.joapps.com) but I'm not sure of the associated costs hence why I kinda gave 3 potential ways to implement. In hindsight I have no idea if this idea is impractical please let me know what you think and thanks for the hard work on the app :).
This isn't really an origianal idea. I'm basing these thoughts on how plex local play back via https works.
https://support.plex.tv/articles/206225077-how-to-use-secure-server-connections/