Thank you for your donation!


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


Instruction Guide Set up a CA and sign your own certificates for moOde in HTTPS mode.
#5
(12-11-2024, 07:31 PM)the_bertrum Wrote: [...]

Now for the third file, the extentions. Using your favourite editor, create a file in your certs folder called moode.local.ext (substituting your host name for moode as appropriate).  Into this file put the following:
Code:
authorityKeyIdentifier=keyid,issuer
basicConstraints=CA:FALSE
keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment
subjectAltName = @alt_names

[alt_names]
DNS.1 = moode.local
DNS.2 = moode
IP.1 = <IP of your player>
IP.2 = 127.24.1.1

The important bits that you need to adjust for your own use are [alt_names].  DNS.1 is <HOSTNAME>.local, DNS.2 is just <HOSTNAME>, IP.1 is the IP address of your player and is only of use if you have a reserved IP in DHCP or a static IP configured, IP.2 is the IP of the player when it is acting as a hotspot.  You need here all the names that you will put in the address bar of the browsers that access the player.

[...]

I think the hotspot IP should be:
Code:
IP.2 = 172.24.1.1
Reply


Messages In This Thread
RE: Set up a CA and sign your own certificates for moOde in HTTPS mode. - by MonoBY - 12-16-2024, 12:55 PM

Forum Jump: