02-19-2024, 06:35 AM
(02-19-2024, 03:48 AM)TheOldPresbyope Wrote:(02-18-2024, 11:28 PM)ubergoober Wrote: Since the Moode player is not a certificate authority, it should not pretend to be. It should have an identity certificate signed by a known and trusted CA. Anybody operating strictly within their own private home network should not care.
If you are going to the trouble of exposing it to the internet, then there isn't any reason you could not use an ACME client script to get a free cert from LetsEncrypt. If you don't want your player exposed full time, you can tell your router that the ip address of the player is the DMZ host allowing full access while you generate or renew your cert.
The Letsencrypt CA cert is already included in windows, linux, ios and android. Wrapping a script around the acme client should allow you to place the ID cert in the correct place and use it for the REST API.
Interesting argument.
It seems to me that a "private home network" is exactly the point here. AIUI, the motivation for developing the experimental HTTPS mode is to deal with the trend in web browsers to make it increasingly cumbersome to access a HTTP server, even though it is operating within a private home network.
I can't speak for @Tim Curtis but personally I don't believe a moOde player should be "exposed" to the internet except from behind a home router with full NAT in play and no port forwarding.
As for Let's Encrypt I have no experience with it or the ACME client script (I haven't spun up a public-facing server in a over a decade and have had no need for their free service). Without experimenting, I can't comment on the practicality of this proposal in a moOde player and a home environment.
Regards,
Kent
It's not very hard. Here's their getting started page https://letsencrypt.org/getting-started/ . Whether your motivation for using SSL is dealing with modern browsers and their ever increasing restrictions or if you're operating Moode in a less than private network, let's say a college dorm, your company WiFi network or yes, heaven forbid, the open internet, you will need an identity cert trusted by a CA that's preferably already built into your device. It just makes life easier when you use these tools in a manner consistent with their design.