Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Propagating SSL errors to the application

Hi,

I have a SSL-protected application (client certificates) in Jetty 8, where I do some custom logic with client certificates from the application layer.

Is there a way to propagate and catch the errors like SSL handshakes etc. to the application/war, so I can provide user-friendly feedback to my end users?

A typical error case:
1- REST client tries to connect with client certificate 
2- SSL error, say we don't have the CA in our trust chain
3- blurb follows

I'd like to catch 2 so I can "massage" 3. Is there a way to write a filter/handler/whatnot/... to do this.

Any thoughts, pointers our feedback greatly appreciated!

Thanks,

Maarten


Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top