. kapow server generates on startup a pair of certificates
that will use to secure communications to its control server.
It will communicate the server and client certificates as well
as the client private key to the init programs it launches,
via environment variables.
. kapow server now understands a new flag --control-reachable-addr
which accepts either a IP address or a DNS name, that can be used
to ensure that the generated server certificate will be appropiate
in case the control server must be accessed from something other
than localhost.
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
- We log their outputs and status codes
- Windows is supported as well, leveraging cmd.exe /c
Co-authored-by: pancho horrillo <pancho.horrillo@bbva.com>
All kapow messages will end up in stderr (incl. debug mode).
stdout is reserved for the access logs.
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
- Honour --bind, --control-bind, --data-bind
- Drop unused params (--interactive, --url, --control-url, --data-url)
- Minimize environment for running the powfile shell script
- Drop debug code
TODO: actual key and cert handling for https