upported by a server. So, for example, an RSA and a DSA certificate can (and often will) have different chains.</p>

<p>The functions SSL_CTX_build_cert_chain() and SSL_build_cert_chain() can be used to check application configuration and to ensure any necessary subordinate CAs are sent in the correct order. Misconfigured applications sending incorrect certificate chains often cause problems with peers.</p>

<p>For example an application can add any set of certificates using SSL_CTX_use_certificate_chain_fi