driskell / log-courier

The Log Courier Suite is a set of lightweight tools created to ship and process log files speedily and securely, with low resource usage, to Elasticsearch or Logstash instances.
Other
419 stars 107 forks source link

Multiple SSL certificate files #272

Closed angel-smile closed 8 years ago

angel-smile commented 8 years ago

In log-courier configuration file, since we can specify multiple logstash servers, is it possible to also specify different SSL ca files for different servers as they might use different certificates? Excuse me if my question is silly:)

driskell commented 8 years ago

Hello. This should be possible by just concatenating the certificates together into a single file and providing that as the CA file. If I remember correctly, the CA file can contain as many certificates as you need, whether that be intermediates to complement a root or multiple roots. Give it a go!

angel-smile commented 8 years ago

I've tried that and looks like it's working. Didn't know that the CA file can contain multiple certificates. Thank you for the information!

driskell commented 8 years ago

I'll be sure to update the docs!