jglobus / JGlobus

jGlobus is a collection of Java client libraries for Globus® Toolkit security, GRAM, and GridFTP.
http://www.globus.org/toolkit/jglobus/
Apache License 2.0
24 stars 44 forks source link

Add better error message when certificate chain verification fails #82

Closed paulmillar closed 11 years ago

paulmillar commented 11 years ago

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.

paulmillar commented 11 years ago

Brian, could you also merge this patch into the v2.0 branch?

bbockelm commented 11 years ago

Cherry-picked into v2.0