Generate certificates with the Pilot CLI and enable TLS between your load balancer and Somewear Core. This also unblocks bidirectional federated TAK integrations, which require TLS to be on.
What you’ll need
- Shell access to a Somewear Core host, with permission to switch to the
pilotuser - The address of your TAK server, if you’re setting up federation (optional — you can leave this blank and add it later)
Generate TLS certificates
By default, TLS isn’t enabled for Somewear Core: HTTPS sessions terminate at the load balancer, and traffic between the load balancer and your application nodes travels unencrypted. Generating certificates and enabling TLS closes that gap.
-
Switch to the
pilotuser account:sudo su - pilot -
Run the Pilot command to create TLS certificates:
pilot node create-tls-certs -
Answer the prompts. The command is interactive and asks for:
- A short name/label for the certificate
- A TAK federation address (optional — leave it blank if you’re not federating yet)
Example run:
$ pilot node create-tls-certsGenerating TLS certificates for somewear.example.orgEnter short name/description for the certificate: ACMEEnter the TAK address for the certificate: tak.example.orgTLS certificate generation complete.Enabling TLS in somewear.confTLS configuration complete. Restart the service to apply the changes.
Restart Somewear Core
Certificates and TLS configuration don’t take effect until the service restarts.
-
From the
pilotuser’s home directory, stop and restart Somewear Core:docker compose stop somewear-coredocker compose up -d -
Optionally, follow the startup logs to confirm the service comes back up clean:
docker logs -f somewear-core