Dominevo
Network

Custom domains and TLS

Using your own domain with Dominevo — through a Cloudflare Tunnel or your own reverse proxy — and the hub's certificate — the built-in local CA, trusting it on your devices, uploading your own certificate, and what changes for app links, notification taps and Alexa.

This page covers two related things: reaching your hub on a domain name of your own, and the certificate the hub serves.

The hub's certificate

The hub always serves HTTPS on port 4443. Out of the box it creates its own local certificate authority (CA) and uses it to sign its certificate. The certificate covers localhost, the machine's name, its LAN addresses and the Local hostname if you set one.

You see and manage it on Network → Local access, on the Certificate card. Each line and button is described in Network settings → Certificate.

A browser does not know your hub's CA, so it warns about the hub's LAN address until you either trust the CA on that device or give the hub a certificate the browser already trusts. You have three options:

OptionBrowsers trust itRenewed for youGood for
The built-in local CA, installed on your devicesOnly devices where you install the CA.Yes.A home network where you control every device.
A certificate from your own CA, such as one made with mkcertOnly devices where you install that CA.No.You already run a CA for other things.
A public certificate, for example from Let's EncryptEvery device.No. You upload each renewal.A name such as cams.example.com that resolves to the hub on your LAN.

Remote access through a Cloudflare Tunnel or Tailscale Serve brings its own real certificate, so none of this is needed away from home.

The native app does not need any of this at home. It reaches the hub over plain HTTP on port 4480, which is on by default. The certificate matters for browsers.

Renewal of the built-in certificate

The hub's own certificate is valid for at most 397 days, the longest Apple devices accept; the CA is valid for 10 years. Each time the hub starts, it issues a new certificate if the current one expires within 30 days, or no longer covers one of the hub's names or LAN addresses. It also issues one when you change the Local hostname. Devices that trust the CA keep working, because the CA does not change.

A hub that runs for more than a year without a restart can therefore reach the expiry date. Restart it, or select Regenerate.

Trust the built-in CA on your devices

Select Download CA on the Certificate card. It saves camstack-ca.crt. Install it once on each device:

  • macOS — double-click camstack-ca.crt and add it to the System keychain. In Keychain Access, open CamStack Local CA, expand Trust, and set When using this certificate to Always Trust. Close the window and confirm with your password.
  • iPhone and iPad — send the file to the device (AirDrop, Mail or Files) and open it. Install the profile in Settings → General → VPN & Device Management. Then go to Settings → General → About → Certificate Trust Settings and switch on full trust for CamStack Local CA.
  • Windows — open the file, choose Install Certificate, and place it in Trusted Root Certification Authorities.
  • Android — Settings → Security → Encryption & credentials → Install a certificate → CA certificate, and pick the file. The exact path varies by manufacturer.

Once a phone trusts the CA, the Dominevo app uses the hub's HTTPS address at home instead of plain HTTP; what happens with and without it is in Secure local connection.

Only install a CA you downloaded from your own hub: a trusted CA can vouch for any website.

Compare the CA SHA-256 shown on the card with the fingerprint your device shows, to be sure the file came from your hub.

Upload your own certificate

The admin UI is the only place to set your own certificate. Certificate paths in environment variables are ignored, with a warning in the log.

Local access tab: the Certificate card in Generated local CA mode, with the upload form open showing three PEM fields with Choose file buttons and Save certificate
Network → Local access → Certificate, with Upload open. The names and fingerprints are examples.
  1. On Network → Local access, select Upload on the Certificate card.
  2. For each field, paste the PEM text or select Choose file:
    • Certificate or full chain (PEM) — your certificate, optionally followed by its intermediates. With Let's Encrypt, use fullchain.pem.
    • Private key (PEM) — the key for that certificate, not encrypted. With Let's Encrypt, privkey.pem.
    • CA (PEM, optional) — the CA that issued it, if you want Download CA to offer it.
  3. Select Save certificate.

The card checks each field before you save and tells you when a file is the wrong kind: a key in the certificate field, a certificate and key in one file, an encrypted key, or a file that is not PEM. The hub then checks that the key matches the certificate and that the certificate is meant for a server.

The new certificate is served on the next connection, with no restart. If the card says the hub still serves the previous certificate, restart the hub.

The hub never renews an uploaded certificate. Watch Valid to on the card. A Let's Encrypt certificate lasts 90 days: upload each renewal before the old one expires. To go back to the built-in certificate, select Revert to generated.

mkcert and other local CAs

mkcert makes a certificate signed by a CA it installs on your computer. For example:

mkcert dominevo.lan 192.168.1.10

Upload the two files it writes: the .pem as the certificate, the -key.pem as the private key. Install mkcert's root CA (mkcert -CAROOT shows where it is) on your other devices, as for the built-in CA.

This gives you nothing the built-in CA does not, apart from using one CA for several services, and the hub cannot renew it.

A public certificate on your LAN

To have every device trust the hub at home with nothing installed:

  1. Pick a name on a domain you own, such as cams.example.com.
  2. Make it resolve to the hub's LAN address, 192.168.1.10, on your home network, through your router's DNS or a local DNS server.
  3. Get a certificate for it with a DNS challenge, which works without the hub being reachable from the internet.
  4. Upload it as above, and set Local hostname to the same name.

Browsers at home then use the fast LAN address directly. Once the certificate covers the name your phones use at home, you can turn off Enable HTTP on the LAN.

Using your own domain

There are two ways to put Dominevo on a domain you own.

Through a Cloudflare Tunnel

The simplest: Dominevo creates the tunnel and the DNS record, and Cloudflare provides the certificate. Everything that needs a public address picks it up on its own. See Cloudflare Tunnel. The Quick Tunnel that starts by default is different: it has no domain and no certificate control, its trycloudflare.com address changes on restart, and Dominevo never uses it as the automatic public endpoint.

Behind a reverse proxy

If you already run a reverse proxy such as Caddy, nginx or Traefik with your own domain and certificate:

  • Forward to the hub's HTTPS port, https://192.168.1.10:4443, and skip verification of the hub's certificate (or trust its CA in the proxy).
  • Pass WebSocket upgrades through. The app uses a WebSocket for live updates and stops updating without one.

Then tell Dominevo about the address, since it cannot see the proxy: on Network → Network Addresses, add https://cams.example.com as a custom address and tick it for Public endpoint and App connections. See When the hub cannot see its own address.

Opening a port on your router to the proxy makes the proxy, and through it the hub's sign-in page, reachable from the internet. Keep the proxy updated and consider limiting who can reach it.

Plain HTTP behind the proxy. If your proxy must talk plain HTTP to the hub, turn off Serve HTTPS in Network → Local access on the hub and restart it. Do this only when every client goes through the proxy: browsers refuse passkeys, the camera and the microphone on a plain-HTTP address.

What your domain changes

Cloudflare Tunnel or TailscaleYour own reverse proxy
Sign-in links, passkeys, single sign-on (Public endpoint)Use the tunnel automatically.Use your domain once you tick it for Public endpoint.
The app away from home (App connections)The tunnel is added automatically.Your domain is raced once you tick it for App connections.
Notification tapsThe app link carries the tunnel or Tailscale address, so a new browser opens the right hub.The app link carries only a tunnel or Tailscale address, never a custom one. A phone with the app already signed in still opens it. To open your domain instead, tick it for Notification taps: taps then open the web viewer on your domain.
Pictures and buttons in notificationsUse the tunnel.Use your domain, through the Public endpoint.
AlexaPicked from External address in the Alexa settings.Not available: the Alexa exporter offers only addresses of tunnels Dominevo runs. Use a Cloudflare Tunnel or Tailscale Funnel for Alexa.

Changing the Public endpoint invalidates registered passkeys. Register passkeys again after moving to your domain.

Then