one issue about the test wbesit

Lei, Shaoting leist.fnst at
Mon Jan 22 00:22:39 PST 2018

Below website was broken for several days.
Is anybody to fix it?

发件人: Hostap [mailto:hostap-bounces at] 代表 hostap-request at
发送时间: 2018年1月22日 4:00
收件人: hostap at
主题: Hostap Digest, Vol 28, Issue 17

Send Hostap mailing list submissions to
	hostap at

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
	hostap-request at

You can reach the person managing the list at
	hostap-owner at

When replying, please edit your Subject line so it is more specific than "Re: Contents of Hostap digest..."

Today's Topics:

   1. [PATCH] TLS: Load chain certificates from client_cert file
      (Isaac Boukris)


Message: 1
Date: Sun, 21 Jan 2018 01:36:44 +0000
From: Isaac Boukris <iboukris at>
To: hostap at
Cc: Isaac Boukris <iboukris at>
Subject: [PATCH] TLS: Load chain certificates from client_cert file
Message-ID: <1516498604-20963-1-git-send-email-iboukris at>

This helps the server to build the chain to trusted CA.

Signed-off-by: Isaac Boukris <iboukris at>
 src/crypto/tls_openssl.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/crypto/tls_openssl.c b/src/crypto/tls_openssl.c index ce73848..3d789bb 100644
--- a/src/crypto/tls_openssl.c
+++ b/src/crypto/tls_openssl.c
@@ -2653,10 +2653,9 @@ static int tls_connection_client_cert(struct tls_connection *conn,
 		return 0;
-	if (SSL_use_certificate_file(conn->ssl, client_cert,
-				     SSL_FILETYPE_PEM) == 1) {
+	if (SSL_use_certificate_chain_file(conn->ssl, client_cert) == 1) {
-		wpa_printf(MSG_DEBUG, "OpenSSL: SSL_use_certificate_file (PEM)"
+		wpa_printf(MSG_DEBUG, "OpenSSL: SSL_use_certificate_chain_file"
 			   " --> OK");
 		return 0;


Subject: Digest Footer

Hostap mailing list
Hostap at


End of Hostap Digest, Vol 28, Issue 17

More information about the Hostap mailing list