Help us understand the problem. What is going on with this article?

Alpine Linuxで動作するfluentdでcertificate verify failedエラー

More than 3 years have passed since last update.

現象

fluentdをDockerで運用していると、AWS SDK for Rubyを利用したpluginで下記のようなエラーが発生するようになった。

$ 2016-03-04 12:49:53 +0000 [warn]: temporarily failed to flush the buffer. next_retry=2016-03-04 12:49:52 +0000 error_class="Seahorse::Client::NetworkingError" error="SSL_connect returned=1 errno=0 state=error: certificate verify failed" plugin_id="object:3fe59dea15c4"

解決策

SSL証明書の場所をDockerfileなどで環境変数を指定してあげる。(apkでca-certificatesをインストールしている前提)

ENV SSL_CERT_FILE /etc/ssl/certs/ca-certificates.crt

参考文献

http://qiita.com/toshihirock/items/ce85c5b66b0236839ec0

runtakun
ゆるスタックエンジニア
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした