I think you would like how Plex did it.
https://blog.filippo.io/how-plex-is-doing-https-for-all-its-...
https://blog.filippo.io/how-plex-is-doing-https-for-all-its-...
That makes a lot of sense for Plex, but it's really not applicable for my equipment.