$Log$
+ Revision 641.22 2005/03/05 22:31:01 ajc
+ * Allow the use of chained certificates for crypto
+
Revision 641.21 2005/03/04 20:04:00 ajc
* IMAP FETCH RFC822.SIZE now honors the cached rfc822 size in each
message's metadata, using it if present and storing it for next time
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
when you order the certificate. </li>
<li>When the certificate is received, simply save it as <tt>citadel.cer</tt>
and restart the Citadel server. </li>
+ <li>If your certificate authority delivers a 'chained' certificate (one
+with intermediate certificate authorities), simply append the intermediate
+certificate after your server's own certificate in the <tt>citadel.cer</tt>
+file.</li>
</ul>
<br>
<hr style="width: 100%; height: 2px;">
/*
* Now try to bind to the key and certificate.
*/
- SSL_CTX_use_certificate_file(ssl_ctx, CTDL_CER_PATH, SSL_FILETYPE_PEM);
+ SSL_CTX_use_certificate_chain_file(ssl_ctx, CTDL_CER_PATH);
SSL_CTX_use_PrivateKey_file(ssl_ctx, CTDL_KEY_PATH, SSL_FILETYPE_PEM);
if ( !SSL_CTX_check_private_key(ssl_ctx) ) {
lprintf(CTDL_CRIT, "Cannot install certificate: %s\n",