Good day,
My web application need to connect to IBM third party to get some response. Thus, IBM give me a .p12
file which contain of client certificate.
At first I import this .p12
file into my existing CellDefaultKeyStore
, and it will hit certificate chain error.
com.ibm.jsse2.util.j: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is:
java.security.cert.CertPathValidatorException: The certificate issued by xxx is not trusted; internal cause is:
java.security.cert.CertPathValidatorException: Certificate chaining error
Then I go import this .p12
file into NodeDefaultKeyStore
, and surprisingly its work. My application able to call to the third party and get reponse code 200.
I am not understand how to explain to my client on this.
As my understanding, management scope in CellDefaultKeyStore
is bigger because its in cell, NodeDefaultKeyStore
should consider part of cell only, suppose CellDefaultKeyStore
should work.
Anyone can advise on this?