Summary: | [patch] More specific error message for missing SSLCertificateFile | ||
---|---|---|---|
Product: | Tomcat 7 | Reporter: | Sebb <sebb> |
Component: | Connectors | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | trunk | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: | Patch to check and report error |
Patch applied to 7.0.x with a few corrections: - use i18n support for error messages - throw the exception earlier to avoid pointless initialisation Will be included in 7.0.12 onwards. |
Created attachment 26767 [details] Patch to check and report error If using SSL with APR, a missing SSLCertificateFile attribute currently results in a somewhat cryptic message from the native code. This patch checks whether the attribute is null before calling the native code, and reports a more specific error.