https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412017-11-01T04:35:25Zlighty labsLighttpd - Bug #2837: HTTPS requests timeout when cert not set for sockethttps://redmine.lighttpd.net/issues/2837?journal_id=111652017-11-01T04:35:25Zgstrauss
<ul></ul><p>Seems like some warnings are in order.</p>
<p>More than a few <code>ssl.*</code> directives makes sense only when configured on the $SERVER["socket"], including <code>ssl.engine = "enable"</code></p> Lighttpd - Bug #2837: HTTPS requests timeout when cert not set for sockethttps://redmine.lighttpd.net/issues/2837?journal_id=111672017-11-03T03:11:23Zgstrauss
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Patch Pending</i></li><li><strong>Target version</strong> changed from <i>1.4.x</i> to <i>1.4.48</i></li></ul><pre>
--- a/src/mod_openssl.c
+++ b/src/mod_openssl.c
@@ -989,6 +989,12 @@ SETDEFAULTS_FUNC(mod_openssl_set_defaults)
}
}
}
+
+ if (0 != i && s->ssl_enabled && config->comp != COMP_SERVER_SOCKET) {
+ log_error_write(srv, __FILE__, __LINE__, "s",
+ "ssl.engine valid is only in global scope "
+ "or $SERVER[\"socket\"] condition");
+ }
}
if (0 != network_init_ssl(srv, p)) return HANDLER_ERROR;
</pre> Lighttpd - Bug #2837: HTTPS requests timeout when cert not set for sockethttps://redmine.lighttpd.net/issues/2837?journal_id=111722017-11-04T03:11:18Zgstrauss
<ul><li><strong>Status</strong> changed from <i>Patch Pending</i> to <i>Fixed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="[mod_openssl] error if ssl.engine in wrong section (fixes #2837) error if ssl.engine in wrong se..." href="https://redmine.lighttpd.net/projects/lighttpd/repository/14/revisions/bfef0907bd11f6d516b72bf510ddd3ecdeceb11a">bfef0907bd11f6d516b72bf510ddd3ecdeceb11a</a>.</p>