What file does the Nuxeo JVM use for its trusted certificates

I have an operation that is trying to open an SSL connection to a web service. That web service is running on a host with a self-signed certificate. I have imported the cert into the …/jre6/lib/security/cacerts file, but I am still getting the exception:

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

As I understand things, that indicates that I have not imported the certificte into the trusted keystore. If I run a test application, it makes the connection just fine, so I believe that I have imported the certificate properly.

0 votes

1 answers

1964 views

ANSWER



I don't think there's any overriding of the default cacerts location, this should be the correct location. Are you certain you're using the same java for launching Nuxeo and for your test app?

0 votes



Any updates ?
03/14/2012