Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Web UI via HTTPS
#8
I think Lets Encrypt is for Internet hosts and not local hosts like moOde. AFAIK for local hosts a self-signed cert needs to be used and then added to the OS Trust Store since there is no root CA for self-signed certs.

One challenge for moOde HTTPS is that the user chooses the host name (domain name) for a given moOde host and its this domain name that is assigned to the Common Name attribute when the cert is created, thus each moOde host needs its own unique  cert.

For example the self-signed cert attributes associated with domain name. The IP address is for Access Point (AP) mode.

Code:
# Common Name
commonName  = $HOSTNAME.local

# Subject Alternative Names
DNS.1       = $HOSTNAME.local
DNS.2       = $HOSTNAME
IP.1        = 172.24.1.1

The solution I was referring to in my previous post automates cert creation and installation into NGINX. The second part involving adding the cert to the OS Trust Store is a manual process.

After it's shipped with upcoming 8.3.8 release have a look and see if there is a way to improve it or if needed replace it with something better :-)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Web UI via HTTPS - by bm401 - 10-07-2022, 01:25 PM
RE: Web UI via HTTPS - by Tim Curtis - 10-07-2022, 02:08 PM
RE: Web UI via HTTPS - by bm401 - 10-07-2022, 02:37 PM
RE: Web UI via HTTPS - by ubergoober - 12-28-2023, 02:14 AM
RE: Web UI via HTTPS - by Tim Curtis - 12-28-2023, 12:52 PM
RE: Web UI via HTTPS - by Tim Curtis - 12-28-2023, 11:57 PM
RE: Web UI via HTTPS - by ubergoober - 12-30-2023, 09:08 PM
RE: Web UI via HTTPS - by Tim Curtis - 12-30-2023, 09:55 PM
RE: Web UI via HTTPS - by ubergoober - 12-30-2023, 10:17 PM
RE: Web UI via HTTPS - by bump_here - 12-31-2023, 06:04 PM
RE: Web UI via HTTPS - by lifeform - 06-10-2024, 12:27 PM
RE: Web UI via HTTPS - by bump_here - 06-15-2024, 03:40 PM
RE: Web UI via HTTPS - by bump_here - 06-18-2024, 08:59 PM

Forum Jump: