NAME
SSLCTXaddextrachaincert - add certificate to chain
SYNOPSIS
#include
long SSLCTXaddextrachaincert(SSLCTX ctx, X509 *x509)DESCRIPTION
SSLCTXaddextrachaincert() adds the certificate xx550099 to the certificate chain presented together with the certificate. Several certificates can be added one after the other. NNOOTTEESS When constructing the certificate chain, the chain will be formed from these certificates explicitly specified. If no chain is specified, the library will try to complete the chain from the available CA certificates in the trusted CA storage, see SSLCTXloadverifylocations(3).RETURN VALUES
SSLCTXaddextrachaincert() returns 1 on success. Check out the error stack to find out the reason for failure otherwise.SEE ALSO
ssl(3), SSLCTXusecertificate(3), SSLCTXsetclientcertcb(3), SSLCTXloadverifylocations(3)0.9.7l 2002-02-14 SSLCTXaddextrachaincert(3)