painless-security / trust-router

Moonshot Trust Router
0 stars 0 forks source link

RPM-supplied internal.cfg should include a monitoring section #91

Closed meadmaker closed 6 years ago

meadmaker commented 6 years ago

The RPM includes an internal.cfg to be used for configuring the trust router. This file should be updated to include the configuration for the monitoring, like:

    "monitoring": {
      "enabled": true,
      "port": 12310,
      "authorized_credentials": [
        "trustmonitor@apc.sports.psec.us"
      ]
    }
jennifer-richards commented 6 years ago

Fixed by 2bf7cf8d0fe531983cdcb72805d7272630ac1ee1 (adds both the monitoring section and a serial_number for each file as an example)

jennifer-richards commented 6 years ago

Test

Steps

  1. On a CentOS or RHEL instance, remove the trust router RPM if installed. Remove or rename /etc/trust_router
  2. Install the trust router RPM
  3. Examine files in /etc/trust_router/conf.d/default/

Expected results

meadmaker commented 6 years ago

Verified.