So you are basically attempting to do OCSP verification on LTM only and not via APM ? Right ?
If so I think you cannot do it unless using C3D (but this requires F5 to generate client certificates on the fly to present to backend). But even then, this will just DROP the connexion. Not sure you can present a nice page there.
With APM and OCSP responders objects it’s more flexible.
Yes that would be if the F5 actually interrogated the OCSP. But I don’t think it does.
Did you configure clientssl profile to “require” client certificate, and add a CRL object there ? With LTM, only CRL will be able to be checked by default, unless you use C3D.
No, with this setup, no need for C3D, but the thing is when you try to log result in CLIENTSSL_CLIENTCERT event, this only takes into account what is in the CLIENTSSL profile. So if the certificate is valid in terms of certificate chain, it will always return OK. The Auth profile is not considered in this event. So it’s slightly more complex to do this check like this.
Step 1 : check the SSL Cert by the CLIENTSSL profile
Step 2: check the OCSP
Step 3: finalise SSL handshake.
There is an OLD irule that showed how to do this, that you could use as starting point.
But it seems that a bit of work will be required to make in work in recent versions of BigIP. If I find a bit of spare time I may try to do it, but not garanteed