Enable HTTPS
Option 1 — Self-signed certificate (quick start)
Pass--ssl to octop run and Octop generates a certificate automatically, saving it under ~/.octop/ssl/:
Option 2 — Custom certificate
Point Octop at your own certificate and private key:Option 3 — Persist TLS settings in config.json
To avoid passing flags on every start, write the TLS configuration into~/.octop/config.json:
After updating
config.json, restart the server for the TLS change to take effect: octop service restart.Register as a system service
Theoctop service subcommand manages the platform-native service unit for you — systemd on Linux and launchd on macOS.
On Linux, Pass
octop service start defaults to a user-level systemd unit (systemctl --user), which runs under your own account and does not require root. To install a system-wide unit that starts before login, pass --scope system:--scope user to explicitly use the user unit.
