SSL_CTX_add_extra_chain_cert.pod revision 72613
172613Skris=pod
272613Skris
372613Skris=head1 NAME
472613Skris
572613SkrisSSL_CTX_add_extra_chain_cert - add certificate to chain
672613Skris
772613Skris=head1 SYNOPSIS
872613Skris
972613Skris #include <openssl/ssl.h>
1072613Skris
1172613Skris long SSL_CTX_add_extra_chain_cert(SSL_CTX ctx, X509 *x509)
1272613Skris
1372613Skris=head1 DESCRIPTION
1472613Skris
1572613SkrisSSL_CTX_add_extra_chain_cert() adds the certificate B<x509> to the certificate
1672613Skrischain presented together with the certificate. Several certificates
1772613Skriscan be added one after the other.
1872613Skris
1972613Skris=head1 NOTES
2072613Skris
2172613SkrisWhen constructing the certificate chain, the chain will be formed from
2272613Skristhese certificates explicitly specified. If no chain is specified,
2372613Skristhe library will try to complete the chain from the available CA
2472613Skriscertificates in the trusted CA storage, see
2572613SkrisL<SSL_CTX_load_verify_locations(3)|SSL_CTX_load_verify_locations(3)>.
2672613Skris
2772613Skris=head1 RETURN VALUES
2872613Skris
2972613SkrisSSL_CTX_add_extra_chain_cert() returns 1 on success. Check out the
3072613Skriserror stack to find out the reason for failure otherwise.
3172613Skris
3272613Skris=head1 SEE ALSO
3372613Skris
3472613SkrisL<ssl(3)|ssl(3)>,
3572613SkrisL<SSL_CTX_use_certificate(3)|SSL_CTX_use_certificate(3)>,
3672613SkrisL<SSL_CTX_load_verify_locations(3)|SSL_CTX_load_verify_locations(3)>
3772613Skris
3872613Skris=cut
39