Closed wise-coders closed 1 year ago
Pinging @elastic/es-ql (Team:QL)
@wise-coders, thanks for your interest in using JDBC and Elasticsearch. Please use https://discuss.elastic.co/ for getting help on using the two. I'm going to close this issue, but please feel free to open a new one if there's a feature the products could be improved with, or if you encounter a bug.
To the problem you're asking for help about: I'm assuming you've configured your Elasticsearch instance to handle SSL traffic on port 9200 using self-signed certificates. You might want to have a look at the available SSL config JDBC options that there are.
Description
Please make the JDBC URL connectivity more simple. Like the URL to contain the host, port. I tried connecting using
and received in server logs
and in the driver
I changed to :
and I still get in the server:
and in the driver:
How can I fix this?
The error in the JDBC Call should be very suggestive, stating clear what I have to do. The driver should try by himself to use https: or http:, and also find a way to trust this certificates. Compare with MySql, which is also encrypting the communication. But the connectivity works without additional steps.