A simple remote listener for mlogc (ModSecurity remote audit log tool)
Copy config.yml.example to config.yml and set host and port. Warning: on *nix systems you must be root to use port < 1025.
Generate a PEM certificate
openssl req -newkey rsa:2048 -new -nodes -x509 -days 365 -keyout key.pem -out tmpcert.pem
Consolidate private key and certificate in the same file
cat tmpcert.pem key.pem > cert.pem