Commit 75b3228c authored by guus's avatar guus

More descriptive Exception message.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@12236 b35dd754-fafc-0310-a699-88a17e54d16e
parent c29a3358
......@@ -156,7 +156,8 @@ public class ServerTrustManager implements X509TrustManager {
Log.error(e.getMessage(), e);
}
if (!trusted) {
throw new CertificateException("root certificate not trusted of " + peerIdentities);
throw new CertificateException("Root certificate (subject: "+x509Certificates[nSize - 1].getSubjectX500Principal()
+ ") of " + peerIdentities + " not trusted.");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment