Documentation contents

Enable HTTPS

A certificate and its key in PEM format, declared in the configuration; or a reverse proxy in front of Adekio.

Applies to Adekio 1.1 · 2 min read

HTTPS is expected outside a lab: it protects passwords and tokens, and it is needed for remote collectors and for sign-in through Entra ID or Keycloak.

The certificate

You need a certificate and its key in PEM format, ideally issued by your internal authority (AD CS…) for the DNS name of the server. For a trial, a self-signed certificate is enough:

# Linux, or Windows with the openssl of Git for Windows
openssl req -x509 -newkey rsa:3072 -nodes -days 365 -keyout key.pem -out cert.pem \
  -subj "/CN=adekio.example.local" -addext "subjectAltName=DNS:adekio.example.local,IP:10.0.0.10"

The configuration

Copy both files next to the configuration, then add to config.yaml:

server:
  address: ":8080"
  tls:
    cert_file: "cert.pem"     # paths relative to the configuration file
    key_file: "key.pem"
System Location Then
Windows C:\ProgramData\Adekio\ Restart-Service Adekio
Linux /etc/adekio/ (sudo chown root:adekio cert.pem key.pem && sudo chmod 640 cert.pem key.pem) sudo systemctl restart adekio
Docker ./tls folder mounted read-only (- ./tls:/tls:ro), readable files (chmod 644), variables ADEKIO_SERVER_TLS_CERT_FILE: /tls/cert.pem and ADEKIO_SERVER_TLS_KEY_FILE: /tls/key.pem docker compose up -d

The address becomes https://adekio.example.local:8080. With a self-signed certificate, the browser warns the first time, and agents and collectors must be given this certificate (the collectors’ --ca-file option).

With a reverse proxy

A reverse proxy (IIS, nginx, HAProxy) can also carry HTTPS in front of Adekio. Then restrict the allowed networks of the screens’ public links on the proxy: Adekio sees the proxy’s address, not the TV’s.

Was this page helpful?

Report a problem on this page
↑↓ pour naviguer Entrée pour ouvrir Échap pour fermer