mirror of
https://github.com/apache/httpd.git
synced 2026-01-06 09:01:14 +03:00
Improve error message if client cert verification fails
PR: 50093 Submitted by: Lassi Tuura <lat cern ch> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1026703 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -24,8 +24,9 @@ Changes with Apache 2.3.9
|
||||
interfering with authentication/authorization. [Paul Querna,
|
||||
Igor Galić, Stefan Fritsch]
|
||||
|
||||
*) mod_ssl: Log certificate information if client cert verification
|
||||
fails. PR 50094. [Lassi Tuura <lat cern ch>, Stefan Fritsch]
|
||||
*) mod_ssl: Log certificate information and improve error message if client
|
||||
cert verification fails. PR 50093, PR 50094. [Lassi Tuura <lat cern ch>,
|
||||
Stefan Fritsch]
|
||||
|
||||
*) htcacheclean: Teach htcacheclean to limit cache size by number of
|
||||
inodes in addition to size of files. Prevents a cache disk from
|
||||
|
||||
@@ -623,7 +623,8 @@ static char *ssl_var_lookup_ssl_cert_verify(apr_pool_t *p, conn_rec *c)
|
||||
result = "GENEROUS";
|
||||
else
|
||||
/* client verification failed */
|
||||
result = apr_psprintf(p, "FAILED:%s", verr);
|
||||
result = apr_psprintf(p, "FAILED:%s",
|
||||
verr ? verr : X509_verify_cert_error_string(vrc));
|
||||
|
||||
if (xs)
|
||||
X509_free(xs);
|
||||
|
||||
Reference in New Issue
Block a user