GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
X509_VERIFY_CERT(3) FreeBSD Library Functions Manual X509_VERIFY_CERT(3)

X509_verify_certdiscover and verify X509 certificate chain

#include <openssl/x509.h>

int
X509_verify_cert(X509_STORE_CTX *ctx);

The () function attempts to discover and validate a certificate chain based on parameters in ctx.

Applications rarely call this function directly, but it is used by OpenSSL internally for certificate validation, in both the S/MIME and SSL/TLS code.

If a complete chain can be built and validated this function returns 1, otherwise it returns a value <= 0 indicating failure.

Additional error information can be obtained by examining ctx, using X509_STORE_CTX_get_error(3).

openssl(1), X509_STORE_CTX_get_error(3), X509_STORE_CTX_new(3)

X509_verify_cert() first appeared in SSLeay 0.8.0 and has been available since OpenBSD 2.4.

This function uses the header <openssl/x509.h> as opposed to most chain verification functions which use <openssl/x509_vfy.h>.

June 6, 2019 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.