AntonShuvaev / elasticsearch4idea

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

[feature/discussion] allow insecure SSL? #9

Closed leberknecht closed 4 years ago

leberknecht commented 4 years ago

Other tools allow usage of self-signed certificates if explicitly wanted (like --insecure switch on cURL, or 'self-signed' option on Kaizen..which i think is doing the same. Not sure though, but what else can it be :))

I struggled a bit to get a working client-certificate for my self-signed elastic-cluster, so i would like to ask if it would be an option to add something like "allow insecure connections"?

AntonShuvaev commented 4 years ago

@leberknecht Good point. I have added option for self-signed certificate. Please let me know if it solves your issue.

leberknecht commented 4 years ago

Hm, it seems to behave a bit strange: if i have the Truststore path blank but the self-signed checked, i get this: image

But if i point it to a p12 file, it works. And if im not totally confused, it doesnt seem to matter if the selected p12 is valid for the endpoint or not oO

But overall: yes, it does solve my problem :) Feel free to close!