The Secure Socket Layer (SSL) validation callback intercepts SSL handshakes, overriding SSL validation checks. SSL validation callbacks are only required when a Client-Library application wants to override SSL validation checks.
You may, for example, attempt a SSL connection using ct_con_props (CS_SET, CS_SERVERADDR), with the server address set to hostname port ssl.
If the server_name parameter passed to ct_connect does not match the common name in the server’s certificate, SSL validation fails. Use the SSL validation callback to override this check.