-
Notifications
You must be signed in to change notification settings - Fork 640
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
[TheHive] client did not trust this server's certificate, closing connection Netty4TcpChannel #1085
Comments
Well, all your logs look good to me, and I cannot tell you what's wrong. Quick experiment: use ES port 9200 instead of 9300.
Just a hint: If I were you I would now double-check the ElasticSearch port number used. There seem to be two different ports, one for HTTP transport and one for a binary connection or so. I never understood completely. And it depends if you use ES5 or ES6, I think. And it also depends on TheHive's version. Make sure you use the correct port number, and reread the docs. Again, it's just a vague idea ... Good luck! I know it's somewhat unprofessional: you run TH and ES on the same host. Why use TLS? The data never leaves your host, so I see no need to encrypt it. Moreover, encryption creates CPU load you could avoid. |
hi
the documentation States
if you do not include TLS, I get an error Group ownership in Docker image prevents running on OpenShift #307
at the moment I think that I use too new elasticsearch |
xpack is not supported anymore. If you want to add security to your ES connection, you can update your configuration file with this:
|
Request Type
Question
Work Environment
Problem Description
Good day!
I can not understand how to connect the TheHive to elasticsearch
on elasticsearch get such a mistake:
client did not trust this server's certificate, closing connection Netty4TcpChannel
as I can assume, I am incorrectly adding certificates to TheHive
Steps to Reproduce
Complementary information
on TheHive get such a mistake:
on TheHive get such a mistake:
test Transport:
openssl s_client -connect 127.0.0.1:9300 -CAfile /etc/thehive/ca.pem
The text was updated successfully, but these errors were encountered: