Skip to content
This repository was archived by the owner on Dec 7, 2018. It is now read-only.
This repository was archived by the owner on Dec 7, 2018. It is now read-only.

provide option to specify ca_file #25

@juliantaylor

Description

@juliantaylor

The plugin hardcodes OpenSSL::X509::DEFAULT_CERT_FILE as the ca file.
https://github.com/toshitanian/fluent-plugin-out-http-ext/blob/master/lib/fluent/plugin/out_http_ext.rb#L220
Unfortunately on e.g. Debian this variable points to a non existent file, the system ca bundle is /etc/ssl/certs/ca-certificates.crt

Setting the SSL_CERT_FILE variable also does not appear to override this ruby variable (https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_default_verify_paths.html)

Please provide a configuration option to set the ca_file to use manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions