multiple levels of TlsException

0 votes
asked Aug 23, 2012 by DerekMJ (270 points)
edited Oct 19, 2012

On a more minor note, when I get a TlsException connecting to a server with a self-signed certificate, I get multiple levels of TlsExceptions (4 total). Each exception has an inner exception that is another TlsException with the exact same message ("Server certificate was rejected by the verifier because of an unknown certificate authority"). My guess is there are several levels inside Rebex code that catch TlsException and instead of rethrowing wrap it inside a new TlsException. This doesn't cause any particular problem, but it might be nice to clean up at some point.

1 Answer

0 votes
answered Aug 24, 2012 by Tomas Knopp (58,890 points)

Thank you for your suggestion. I have just submitted a new case into our bug-tracking system.

...