From 2baf57cc87c2e70d024a1480c0bf7cc6edb0efaa Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 26 Feb 2020 14:02:48 +0100 Subject: [PATCH] When logging that the certificate verifcation failed, mention the host Sponsored by: Robert Klemme --- ssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssl.c b/ssl.c index 8d9a55ac..c1a06613 100644 --- a/ssl.c +++ b/ssl.c @@ -820,8 +820,8 @@ extern int create_server_ssl_connection(struct client_state *csp) /* Log the reason without the trailing new line */ log_error(LOG_LEVEL_ERROR, - "The X509 certificate verification failed: %N", - strlen(reason)-1, reason); + "X509 certificate verification for %s failed: %N", + csp->http->hostport, strlen(reason)-1, reason); ret = -1; } else -- 2.39.2