I am trying to monitor the ssl urls and for some reason I seem to have issues getting it to work.
heartbeat.monitors: - type: http ##Sample rest api urls: ["http://localhost:8725/api/XXX/YYY"] check.request.method: POST check.request.headers: content-type: 'application/json' accept-encoding: 'gzip,deflate' check.request.body: '<json message>' ssl: certificate_authorities: ["C:/certs/issuing_CA1.cer"] certificate: "C:/certs/cert1.cer" schedule: '@every 10s
I am seeing the following error in logs
2017-04-12T11:04:12-04:00 CRIT Failed reading CA certificate:
2017-04-12T11:04:12-04:00 ERR failed to load monitor tasks: 1 error: file is not a certificate adding C:/certs/issuing_CA1.cer when initializing monitor http(0)
Any help is appreciated.