Support Questions

Find answers, ask questions, and share your expertise

nifi mongo x509 connection

avatar
Contributor

How to connect to NIFI GetMongo using x509 connection with certificates ?

1 ACCEPTED SOLUTION

avatar
Expert Contributor

@samarsimha  You can use configure MongoDBControllerService > SSL Context Service and provide certificate details.So NiFi can use these details to communicate with MongoDB database. 

[Note: Make sure that the certificate details like keystore and truststore path should be same on all NiFI nodes]

 

SSL Context Service you can use StandardSSLContextService which will allow you to communicate with both legacy and modern systems

 

Thanks,

Akash

View solution in original post

1 REPLY 1

avatar
Expert Contributor

@samarsimha  You can use configure MongoDBControllerService > SSL Context Service and provide certificate details.So NiFi can use these details to communicate with MongoDB database. 

[Note: Make sure that the certificate details like keystore and truststore path should be same on all NiFI nodes]

 

SSL Context Service you can use StandardSSLContextService which will allow you to communicate with both legacy and modern systems

 

Thanks,

Akash