DataScript: avi.ssl.log_client_cert_verify_error

DataScript

Function avi.ssl.log_client_cert_verify_error()
Description This DataScript function is used to log the client certificate authentication failure. The error is added to the application log as a significance. For example, Client certificate verification failed: client x509 certificate verification failed
Events VS_DATASCRIPT_EVT_SSL_HANDSHAKE_DONE
VS_DATASCRIPT_EVT_HTTP_REQ
VS_DATASCRIPT_EVT_HTTP_REQ_DATA
Parameters None
Returns None
Example

if avi.ssl.server_name() == "secure.example.com" &&
avi.ssl.get_client_cert_verify_mode() ~= 0 then
     avi.ssl.log_client_cert_verify_error()
end