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 cer‐
15       tificate chain presented together with the certificate. Several cer‐
16       tificates 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 certifi‐
22       cates in the trusted CA storage, see SSL_CTX_load_verify_locations(3).
23

RETURN VALUES

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

SEE ALSO

29       ssl(3), SSL_CTX_use_certificate(3), SSL_CTX_set_client_cert_cb(3),
30       SSL_CTX_load_verify_locations(3)
31
32
33
340.9.8b                            2002-02-15   SSL_CTX_add_extra_chain_cert(3)
Impressum