pino-elasticsearch icon indicating copy to clipboard operation
pino-elasticsearch copied to clipboard

Have an option for SSL

Open brilvio opened this issue 5 years ago • 1 comments
trafficstars

Can we have an option to pass the ssl configuration to the elasticsearch client? I can do a PR if people want.

Just need to pass an object like this.

ssl: {
    ca: fs.readFileSync('./cacert.pem'),
    rejectUnauthorized: true
  }

brilvio avatar Feb 07 '20 13:02 brilvio

sure thing, send it over! Il 7 feb 2020, 14:38 +0100, Fernando Derkoski [email protected], ha scritto:

Can we have an option to pass the ssl configuration to the elasticsearch client? I can do a PR if people want. Just need to pass an object like this. ssl: { ca: fs.readFileSync('./cacert.pem'), rejectUnauthorized: true } — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

mcollina avatar Feb 07 '20 13:02 mcollina