Source MongoDB - sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I’m trying to make a connection to MongoDB , this is the following error
:sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target}, caused by {sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target}, caused by {sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target}}]

I installed InstallCert.java in the docker image of the airbyte server following this

Still my server was not able to connect to MongoDB, can someone please help

Hey @GowravTataLTTS,

Thanks for the post and welcome to the community. It looks like this might be an existing/known issue with the MongoDB connector. We have an issue on our Github that looks to be similar, would you be kind enough to confirm? https://github.com/airbytehq/airbyte/issues/9843

Hi sajarin

Yes. they are similar.