Query: curlopt_ssl_verifystatus
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CURLOPT_SSL_VERIFYSTATUS(3) curl_easy_setopt options CURLOPT_SSL_VERIFYSTATUS(3)NAMECURLOPT_SSL_VERIFYSTATUS - verify the certificate's statusSYNOPSIS#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSL_VERIFYSTATUS, long verify);DESCRIPTIONPass a long as parameter set to 1 to enable or 0 to disable. This option determines whether libcurl verifies the status of the server cert using the "Certificate Status Request" TLS extension (aka. OCSP stapling). Note that if this option is enabled but the server does not support the TLS extension, the verification will fail.DEFAULT0PROTOCOLSAll TLS based protocols: HTTPS, FTPS, IMAPS, POP3S, SMTPS etc.EXAMPLETODOAVAILABILITYAdded in 7.41.0. This option is currently only supported by the OpenSSL, GnuTLS and NSS TLS backends.RETURN VALUEReturns CURLE_OK if OCSP stapling is supported by the SSL backend, otherwise returns CURLE_NOT_BUILT_IN.SEE ALSOCURLOPT_SSL_VERIFYHOST(3), CURLOPT_SSL_VERIFYPEER(3), CURLOPT_CAINFO(3), libcurl 7.54.0 February 03, 2016 CURLOPT_SSL_VERIFYSTATUS(3)
Related Man Pages |
---|
curlopt_capath(3) - mojave |
curlopt_certinfo(3) - mojave |
curlopt_keypasswd(3) - mojave |
curlopt_sslcert(3) - mojave |
curlopt_ssl_verifystatus(3) - mojave |