you will need ssl debug information turned on at jvm invocation The -Djavax.net.debug=all property enables debug logging within the JSSE-based SSL implementation . SSL Debugging (oracle.com)<https://docs.oracle.com/middleware/12212/wls/SECMG/ssl_debug.htm#SECMG544>
martin ________________________________ From: Benjamin Reed <[email protected]> Sent: Sunday, January 3, 2021 1:30 PM To: [email protected] <[email protected]> Subject: Re: TLS certificate error does not return a error to client it sounds like we might be missing a test case. do we not have test case coverage for this one? ben On Fri, Jan 1, 2021 at 8:32 PM Dipti Mulay <[email protected]> wrote: > > Hi All, > > I have been using a zookeeper C-client libraries to communicate with the > Zookeeper Cluster(Ensemble). > The communication is set to be established using mTLS. > > While running some tests I had an incorrect certificate installed on the > client side. I was expecting that the library would return a error indication > AUTH failure or an callback session even indicating a failure. > But it seems the no error or callback is returned in this case. I see the > loglevel to DEBUG in the client and I don’t see any logs coming out either. > > I intend to write some re-try code and do some alarming based on the events > returned by library . > > Any suggestions? > > Thanks > -Parag
