Search code examples
csslopensslssl-certificatecertificate

SSL_CTX_set_verify with NULL verify_callback


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?


Solution

  • Reworded answer by Steffen Ullrich: The optional callback can be used to possibly override the built-in validation.