AntonShuvaev / elasticsearch4idea

Elasticsearch Plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/14512-elasticsearch
59 stars 8 forks source link

insecure SSL not working #22

Closed netchose closed 3 years ago

netchose commented 3 years ago

hi,

i can't connect : same message and same test than this issue :

https://github.com/AntonShuvaev/elasticsearch4idea/issues/9#issue-678483348

even with self-signed checked,

thanks

AntonShuvaev commented 3 years ago

Hi,

Can you provide more details? Also, you can take a look at documentation https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/_encrypted_communication.html because HTTP client in plugin is configured in the same way as there.

netchose commented 3 years ago

Hi Anton,

maybe i can provide you log file . if you can tell me the location

thanks for answer

AntonShuvaev commented 3 years ago

How do you specify certificate and in what format?

netchose commented 3 years ago

i will check asap. if it can be useful i will see to provide a docker file

AntonShuvaev commented 3 years ago

Do you configure certificates in https://www.jetbrains.com/help/idea/settings-tools-server-certificates.html when using Pycharm http client? My plugin doesn't use them. You need to specify certificate in truststore in JKS or PKCS12 format.

AntonShuvaev commented 3 years ago

I will add support for server certificates in the future release.

AntonShuvaev commented 3 years ago

@netchose

I released an update. Your problem must be resolved now.

netchose commented 3 years ago

Hi Anton,

it works very well :)

big thanks for your work !