Certificate verification callback invoked during chain checking.

Synopsis

Declared in <openssl/ssl.h>

typedef int(* SSL_verify_cb)(int, X509_STORE_CTX*);

Return Value

1 to continue (accept), or 0 to fail verification.

Parameters

Name

Description

preverify_ok

1 if built‐in verification succeeded so far, else 0.

x509_ctx

Store context describing the current certificate and error.

Created with MrDocs