kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 0be748ee0f40ad42200bd690a84ce89506772fc1
parent 1671698f58549dda35563c1d8eb40ace3b8cea32
Author: Joris Vink <joris@coders.se>
Date:   Wed, 29 May 2013 12:27:30 +0200

use SSL_CTX_use_certificate_chain_file instead when loading certificates so we can properly use our intermediate authority.

Diffstat:
src/kore.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/kore.c b/src/kore.c @@ -169,8 +169,7 @@ kore_server_sslstart(void) return (KORE_RESULT_ERROR); } - if (!SSL_CTX_use_certificate_file(ssl_ctx, "cert/server.crt", - SSL_FILETYPE_PEM)) { + if (!SSL_CTX_use_certificate_chain_file(ssl_ctx, "cert/server.crt")) { kore_log("SSL_CTX_use_certificate_file(): %s", ssl_errno_s); return (KORE_RESULT_ERROR); }