Member since
06-25-2020
3
Posts
0
Kudos Received
0
Solutions
06-25-2020
06:41 AM
@stevenmatison can u please look into this post ..
... View more
06-25-2020
04:43 AM
@stevenmatison @YerFel Am able to add the ssl parameters ssl= true, sslmode=verify-full, sslrootcert= <path to certificate>, sslfactory=org.postgresql.ssl.DefaultJavaSSLFactory . Am trying to connect postgredb getting cerificate chaining error. I can see in Nifi logs Caused by: java.security.cert.CertPathValidatorException: The certificate issued by CN=XXX Cloud Databases is not trusted. I have placed the root certificate in my project folder only. I don't know how do " At Nifi level make sure the cert file(s) are owned to nifi user". can u suggest me?? certificate name is 'server.cert.der'
... View more
06-25-2020
04:14 AM
I want to update the romote postgresql using PUTSQL processor. PUTSQL processor has DBCP connection pool controller service to connect with database. I have provided all the properties required. Am able to connect the postgresql db in my local. But when i try to connect remote postgre db which is secured by ssl protocol returning handshake-failure error. so, i have added the ssl connection parameters ssl=true , sslmode=verify-full, sslrootcert=<path to certificate> and added sslfactory=org.postgresql.ssl.DefaultJavaSSLFactory . Am getting 'certificate chaining error' . In nifi logs i can see Caused by: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath. Caused by: java.security.cert.CertPathValidatorException: The certificate issued by CN=XXX Cloud Databases is not trusted. cerificate with extension is 'server.crt.der' . certificate in my project folder. If i need to keep that certificate in truststore of nifi. I don't know how to make trusted and accepted by that.
... View more
Labels: