FarouziAbir opened a new issue, #4982:
URL: https://github.com/apache/hop/issues/4982
### What would you like to happen?
Hello,
I have a replicat set on mongoDB that is accessible using ssl/tls client
certificate (ca.crt). I was able to configure the connection on metadata and
add a mongodb connection, however, the connection failed because there is no
field to introduce the ca.crt file.
Knowing that I checked "use ssl socket factory", I receieved this error :
MongoDbException: Error pinging database erebia
Root cause: MongoTimeoutException: Timed out after 30000 ms while waiting to
connect. Client view of cluster state is {type=UNKNOWN,
servers=[{address=host1:27017, type=UNKNOWN, state=CONNECTING,
exception={com.mongodb.MongoSocketWriteException: Exception sending message},
caused by {javax.net.ssl.SSLHandshakeException: PKIX path building failed:
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}}, {address=host2:27017,
type=UNKNOWN, state=CONNECTING,
exception={com.mongodb.MongoSocketWriteException: Exception sending message},
caused by {javax.net.ssl.SSLHandshakeException: PKIX pa
th building failed:
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}}, {address=host3:27017,
type=UNKNOWN, state=CONNECTING,
exception={com.mongodb.MongoSocketWriteException: Exception sending message},
caused by {javax.net.ssl.SSLHandshakeException: PKIX path building failed:
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 reque
sted target}, caused by
{sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target}}]
I'll be gratefull if you have any quick solution to solve this issue ?
Thank you
### Issue Priority
Priority: 1
### Issue Component
Component: Database, Component: Metadata
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]