logstash-plugins / logstash-output-elastic_app_search

Apache License 2.0
0 stars 9 forks source link

https support (self-managed App Search with SSL enabled)? #9

Open ppf2 opened 5 years ago

ppf2 commented 5 years ago

I don't see any certificate path (e.g., certificate_authorities) settings available for this plugin. I have a SSL-enabled App Server instance (7.3.0) and have configured the url to https. Is https connection to an App Server not currently supported by this plugin? thx!

@jsvd

jsvd commented 5 years ago

the app search java client doesn't seem to support this either. You can pass an https url and it will likely use the certificates in your java keystore, that lives in $JAVA_HOME/lib/security/cacerts

ppf2 commented 5 years ago

When using a CA that is not trusted by the default cacerts, I am also able to use javax settings to point it to the JKS truststore of App Search to get this to work:

-Djavax.net.ssl.trustStore=/Users/test/Elastic/AppSearch/7.3.0/app-search-7.3.0/config/appsearch_truststore.ks
-Djavax.net.ssl.trustStoreType=jks
-Djavax.net.ssl.trustStorePassword=password
mazurdv commented 3 years ago

+1

mazurdv commented 3 years ago

Error: Couldn't connect to self-managed App Search with self-signed certificate