-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Praeco elastalert-server seems to ignore "verify_certs" option and always throws "Self-Signed Certificate in Chain". #229
Comments
@AddChickpeas That's strange... I've never fixed about connecting to Elasticserach. I used jfcantu's image for fixing output of Alert Log (jfcantu/elastalert-server@9e6c5dd). By the way, I'm using
Let me confirm how did I build the Image. @nsano-rururu ブログコメントでお知らせいただきありがとうございます。Issue・Update追えておらずすみません... 証明書系は試行錯誤した記憶があるので、振り返って確認します。 |
情報ありがとうございます。 |
@AddChickpeas I will post what I came up with about the points to check the operation.
Is the version of the problem that occurred in Bitsensor 3.0.0-beta.0 or 3.0.0-beta.1. Or I wonder if it was changed to ElastAlert 0.2.4.
・Is it possible to solve it by lowering the Elasticsearch version with the npm library used by ElastAlert Server? ・Does the first version of the Docker image updated to ElastAlert 0.2.4 give the same error? johnsusek/elastalert-server I feel that it is necessary to check only the difference in ElastAlert version. |
@nsano-rururu And I think
I was able to skip verify cert by fixing like this.
Please refer to this.
We have to make this option configurable by Node.jsに詳しくないのですが、ドキュメントと挙動を見る限り上記の通りかと思います。お手数をおかけしますが、確認・修正リリースをお願いします。 @AddChickpeas Would you please test this hotfix on your env?
|
Changing it to I tested your hotfix locally and it seems to work as well. I deployed it and was able to connect without a ca_cert. |
Hello,
This is likely related to #213, but not entirely sure.
We are currently unable to use and Praeco version of Elastalert-Server. As in the issue linked, our issue was also solved by using daichi703n/elastalert:"0.2.1-dev". This image is based off jfcantu/elastalert, which was created to fix this issue in the ServerCentral repo. . It is also a few point releases behind and am unsure if there are any plans for it to be updated further.
Regardless of the setting chosen for verify_certs, we get this error after we attempt to access Praeco. Looks like elastalert base starts up fine. Issue only happens once an api call is made.
I saw an issue opened in the Bitsensor repo, but, as far as I know, Bitsensor is now defunct so I'm not sure any more updates will be made.
elastalert.yaml
api.config.json
The text was updated successfully, but these errors were encountered: