Hi I'm running an application (web service) in tomcat with TLS enabled (with certificates both for the client and the server).
I want that my application will be able to send audit message (logging) when TLS handshake fails. for example I want to log when:
- the client certificate is expired,
- the client certificate is unknown (not in the server trust store)
- any other handshake failure
is there any event I can catch and handle in order to do that ?
please advice -- Yonatan