jglobus/JGlobus — pull request #82 by paulmillar (2013-04-24 06:02:04+00:00)
Title: Add better error message when certificate chain verification fails

The trust manager class PKITrustManager contains two near identity methods for checking whether the identity remote party is trusted, either as a server or as a client. The message when reporting a problem with a remote server includes the cause whereas problems with a remote client are described enigmatically as just "Pathvalidation failed" [sic].

This patch fixes this problem by including the cause in the message, so the admin has some chance of fixing it.

Please also merge into v2.0 branch for next 2.0.x release.