Add certificate chain verify callback.