elkninja / elastic-stack-docker-part-one

Getting up and running with Elastic Stack on Docker-Compose
Apache License 2.0
152 stars 94 forks source link

Elastic Microsoft SQL connector, unable to get local issuer certificate #15

Open YavuzSelimGugen opened 8 months ago

YavuzSelimGugen commented 8 months ago

This repo is great for our use case, thanks a lot first of all. I wanted to integrate new Microsoft SQL connector client, using windows 11, docker with wsl.

I am able to setup connector in kibana ui.

image

After that changed config.yml of connector like below

image

image

But unfortunately im getting ssl certification error while running connector client container

[FMWK][23:12:00][ERROR] Could not connect to the server [FMWK][23:12:00][ERROR] Cannot connect to host host.docker.internal:9200 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')]

image

SSL should be working even tough its POC. What I am missing here, any helps would be great.

Thanks