How to create ssl certificates for a purely local system?

Hey everyone,
so the new voice Assist requires https/ssl to work. Unfortunately, HA does not come with built-in support.

I tried creating my own certificates as described here Self-signed certificate for SSL/TLS - Home Assistant 中文网 but that seems to be outdated because it does not work with the Companion app.

I am running a purely local server, so I cannot supply an external url to register. I won’t be running any VPN etc. (especially since they don’t work with DS Lite).
So is there a way to get ssl to work for local systems that are only accessed via 192.168.x.x rather than via an actual dns address?

Which flavour?
You can import the self-signed certificate in Android so that it is accepted:

You realise that is not a home assistant page? Look at the domain you pointed to.

You realize that that is irrelevant. It used to work and it still does work, but it will not work with companion app.

I will try that next then. I am using Android, although my wife uses Apple, so not sure if that will also work there.