From 3b372da120100d35d2c6d3e5c3206849c77798a7 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 7 Apr 2014 15:16:25 -0700 Subject: [PATCH] GUAC-593: Allow certificate chain import. --- src/guacd/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guacd/daemon.c b/src/guacd/daemon.c index 75f5cd78..7a112ad4 100644 --- a/src/guacd/daemon.c +++ b/src/guacd/daemon.c @@ -513,7 +513,7 @@ int main(int argc, char* argv[]) { /* Load cert file if specified */ if (cert_file != NULL) { guacd_log_info("Using certificate file %s", cert_file); - if (!SSL_CTX_use_certificate_file(ssl_context, cert_file, SSL_FILETYPE_PEM)) { + if (!SSL_CTX_use_certificate_chain_file(ssl_context, cert_file)) { guacd_log_error("Unable to load certificate."); exit(EXIT_FAILURE); }