-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
Description
Elasticsearch version (bin/elasticsearch --version):
Version: 6.4.0, Build: default/zip/595516e/2018-08-17T23:18:47.308994Z, JVM: 1.8.0_181
JVM version (java -version):
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
Description of the problem including expected versus actual behavior:
The http | https option in the JDBC connection string is ignored, and only ?sql=true can be used to enable SSL/TLS. Here are the results for connecting to a TLS protected ES cluster:
jdbc:es://https://localhost:9200 ---> fails
jdbc:es://https://localhost:9200?ssl=true ---> works
jdbc:es://http://localhost:9200?ssl=true ---> works
jdbc:es://localhost:9200?ssl=true ---> works