]> granicus.if.org Git - apache/commitdiff
mod_ssl: The error message when SSLCertificateFile is missing should at
authorGraham Leggett <minfrin@apache.org>
Wed, 9 Sep 2009 20:35:05 +0000 (20:35 +0000)
committerGraham Leggett <minfrin@apache.org>
Wed, 9 Sep 2009 20:35:05 +0000 (20:35 +0000)
least give the name or position of the problematic virtual host definition.
[Stefan Fritsch sf sfritsch.de]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@813105 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/ssl/ssl_engine_pphrase.c

diff --git a/CHANGES b/CHANGES
index 15e7645751934fca442da42d05e6c78555242b0b..e85a560980c29e1b8cae168115b61993b2fc0550 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,10 @@
 
 Changes with Apache 2.3.3
 
+  *) mod_ssl: The error message when SSLCertificateFile is missing should
+     at least give the name or position of the problematic virtual host
+     definition. [Stefan Fritsch sf sfritsch.de]
+
   *) mod_auth_digest: Fix null pointer when qop=none. [Dan Poirier]
 
   *) Add support for HTTP PUT to ab. [Jeff Barnes <jbarnesweb yahoo.com>]
index 94e360513350e57863c3b3cde442a1ee2122cef1..c0f14d038e89c324209948acf93421822fe1fb4d 100644 (file)
@@ -189,7 +189,8 @@ void ssl_pphrase_Handle(server_rec *s, apr_pool_t *p)
             && sc->server->pkcs7 == NULL) {
             ap_log_error(APLOG_MARK, APLOG_ERR, 0, pServ,
                          "Server should be SSL-aware but has no certificate "
-                         "configured [Hint: SSLCertificateFile]");
+                         "configured [Hint: SSLCertificateFile] (%s:%d)",
+                         pServ->defn_name, pServ->defn_line_number);
             ssl_die();
         }