mod_ssl: The error message when SSLCertificateFile is missing should
at least give the name or position of the problematic virtual host
definition.
Submitted by: Stefan Fritsch <sf sfritsch.de>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@815943
13f79535-47bb-0310-9956-
ffa450edef68
mod_proxy_ftp: NULL pointer dereference on error paths.
[Stefan Fritsch <sf fritsch.de>, Joe Orton]
+ *) 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]
+
*) htdbm: Fix possible buffer overflow if dbm database has very
long values. PR 30586 [Dan Poirier]
+1: covener, poirier
+1: minfrin (with r814779 for compiler warning fix)
- * mod_ssl: The error message when SSLCertificateFile is missing should
- at least give the name or position of the problematic virtual host
- definition.
- Trunk Patch: http://svn.apache.org/viewvc?rev=813105&view=rev
- 2.2.x Patch: http://people.apache.org/~minfrin/ssl_engine_pphrase.diff
- +1: minfrin, rpluem, pquerna
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
if (sc->server->pks->cert_files[0] == 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();
}
algoCert = SSL_ALGO_UNKNOWN;