2 Replies Latest reply on Mar 21, 2006 1:44 PM by beyarecords

    PKIX path building failed

    beyarecords Novice

      I am receiveing the following error message when starting Jboss 4.0.2, under Windows XP (Service Pack 2) in regards to making an SSL connection to my postgreSQL 8.x database:

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

      Under the exact same solution I have running under OS X I have created an untrusted certificate which resides in my java cacerts store and I have both a certificate and a key place in the data directory of my postgresql database. In my Jboss deploy directroy I have defined my postgres-ds.xml document as follows:

      <type-mapping>PostgreSQL 7.2</type-mapping>

      I am able to start the postgresql service with SSL and can connect to it from other clients. What am I not doing correctly for this windows XP setup?