In openSSL I used function SSL_CTX_set_verify with verify_mode= SSL_VERIFY_PEER
and verify_callback= NULL
.
What does it mean? The client will verify the server certificates chain or not?
Reworded answer by Steffen Ullrich: The optional callback can be used to possibly override the built-in validation.