Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The connector starts but fails to connect to OpenSearch nodes #78

Open
eaudet opened this issue Sep 28, 2022 · 0 comments
Open

The connector starts but fails to connect to OpenSearch nodes #78

eaudet opened this issue Sep 28, 2022 · 0 comments

Comments

@eaudet
Copy link

eaudet commented Sep 28, 2022

I POST the following json configuration:

{
    "name": "elastic-source",
    "config": {
        "connector.class": "com.github.dariobalinzo.ElasticSourceConnector",
        "tasks.max": "1",
        "es.host": "opensearch-node1;opensearch-node2",
        "es.port": "9200",
        "es.scheme": "https",
        "es.password": "********",
        "es.user": "admin",
        "es.tls.keystore.location": "/usr/share/confluent-hub-components/cacerts",
        "es.tls.keystore.password": "********",
        "index.prefix": "contacts",
        "topic.prefix": "es_",
        "incrementing.field.name": "@timestamp"
    }
}

The connector starts but fails to connect to OpenSearch nodes

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2022-09-28T01:16:00.729008620Z 	at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
2022-09-28T01:16:00.729011206Z 	at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
2022-09-28T01:16:00.729019382Z 	at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)
2022-09-28T01:16:00.729022276Z 	at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434)
2022-09-28T01:16:00.729024846Z 	... 25 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant