Skip to content

Server Configuration

Konstantin edited this page Nov 24, 2023 · 4 revisions

server config is stored in goatak_server.yml file.

Base section

  • admin_addr: sets the port (and optional interface address) for admin interface. . Default is :8088
  • api_addr: sets the port (and optional interface address) for "marti" api. Should be :8080 for tcp connections or :8443 for ssl. If ssl.use_ssl is set to true, server will use certificate to handle https connections for this api. . Default is :8080
  • cert_addr: sets the port (and optional interface address) for enrollment api.
  • tcp_addr: sets the port (and optional interface address) for insecure tcp cot listening. Default is :8999
  • udp_addr: sets the port (and optional interface address) for insecure tcp cot listening. Default is :8999
  • ssl_addr: sets the port (and optional interface address) for secure tcp client connections
  • log: if true - logs all incoming cot's to {data_dir}/log folder. Default is false
  • data_dir: root dir to store all data. Default is data
  • users_file: Default is users.yml
  • webtak_root: If WebTAK is using, path to root webtak folder

ssl section

  • ssl.use_ssl: if set to true, server will use certificate to handle https connections on api_addr
  • ssl.ca: name of ca file (usually cert/cacert.pem)
  • ssl.cert: name of certificate file (usually cert/server.pem)
  • ssl.key: name of certificate key file (usually cert/server.key)
  • ssl.cert_ttl_days: enrolled cert validity period in days. Default is 365