// This is an example of a configuration for Control-Agent (CA) HTTPS i.e. // HTTP over TLS. { "Control-agent": { // We need to specify where the agent should listen to incoming HTTP // queries. "http-host": "127.0.0.1", // If enabling HA and multi-threading, the 8000 port is used by the HA // hook library http listener. When using HA hook library with // multi-threading to function, make sure the port used by dedicated // listener is different (e.g. 8001) than the one used by CA. Note // the commands should still be sent via CA. The dedicated listener // is specifically for HA updates only. "http-port": 8000, // TLS trust anchor (Certificate Authority). This is a file name or // (for OpenSSL only) a directory path. "trust-anchor": "my-ca", // TLS server certificate file name. "cert-file": "my-cert", // TLS server private key file name. "key-file": "my-key", // TLS require client certificates flag. Default is true and means // require client certificates. False means they are optional. "cert-required": true } }