BUG: Connection to elasticsearch fails when using SSL certifcates

UserBird
UserBird Dataiker, Alpha Tester Posts: 535 Dataiker

I setup a connection to elasticsearch and configure it to ignore server certificate verification by checking:"Trust any SSL certificate". The test connection gives me a positive result so my connection is working. But when i create a dataset based on the this connection it fails with this message:



Failed to connect: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target



It looks to me that the connection now tries to use certificate verification although i did not configured that !!!!!

Answers

  • AdrienL
    AdrienL Dataiker, Alpha Tester Posts: 196 Dataiker

    Thank you for reporting this, there is a bug that shows this message on the "New Elasticsearch Dataset" for external datasets until you've filled the index name & type name parameters and click Retry. I will see that it is fixed in a future DSS version.



    In the meantime, you can workaround this problem by filling the 2 parameters, or by adding the certificate to the java truststore.

Setup Info
    Tags
      Help me…