1SSL_CTX_add_extra_chain_cert(3)     OpenSSL    SSL_CTX_add_extra_chain_cert(3)
2
3
4

NAME

6       SSL_CTX_add_extra_chain_cert - add certificate to chain
7

SYNOPSIS

9        #include <openssl/ssl.h>
10
11        long SSL_CTX_add_extra_chain_cert(SSL_CTX ctx, X509 *x509)
12

DESCRIPTION

14       SSL_CTX_add_extra_chain_cert() adds the certificate x509 to the
15       certificate chain presented together with the certificate. Several
16       certificates can be added one after the other.
17

NOTES

19       When constructing the certificate chain, the chain will be formed from
20       these certificates explicitly specified. If no chain is specified, the
21       library will try to complete the chain from the available CA
22       certificates in the trusted CA storage, see
23       SSL_CTX_load_verify_locations(3).
24

RETURN VALUES

26       SSL_CTX_add_extra_chain_cert() returns 1 on success. Check out the
27       error stack to find out the reason for failure otherwise.
28

SEE ALSO

30       ssl(3), SSL_CTX_use_certificate(3), SSL_CTX_set_client_cert_cb(3),
31       SSL_CTX_load_verify_locations(3)
32
33
34
351.0.0e                            2002-02-15   SSL_CTX_add_extra_chain_cert(3)
Impressum