Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changes-entries/ssl-check-protoconf.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*) mod_ssl: Fail when parsing SSLProtocol if the configuration
would prevent use of all protocols.
[Michael Kaufmann <mail michael-kaufmann.ch>]
3 changes: 3 additions & 0 deletions changes-entries/ssl-perdir-verify-client.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*) mod_ssl: Fix per-directory "SSLVerifyClient require" failing on a TLSv1.3
connection when the virtual host had already requested a client
certificate. PR 63096. [Michael Kaufmann <mail michael-kaufmann.ch>]
5 changes: 5 additions & 0 deletions modules/ssl/ssl_engine_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -1522,6 +1522,11 @@ static const char *ssl_cmd_protocol_parse(cmd_parms *parms,
}
}

if (*options == SSL_PROTOCOL_NONE) {
return "SSLProtocol: No SSL protocols available";
}


return NULL;
}

Expand Down
1 change: 0 additions & 1 deletion modules/ssl/ssl_engine_kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,6 @@ static int ssl_hook_Access_modern(request_rec *r, SSLSrvConfigRec *sc, SSLDirCon
return DECLINED;
}

vmode_needed |= SSL_VERIFY_CLIENT_ONCE;
if (vmode_inplace != vmode_needed) {
/* Need to change, if new setting is more restrictive than existing one */

Expand Down
2 changes: 1 addition & 1 deletion test/modules/ssl/test_003_verify_client_perdir.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_ssl_003_04(self, env):
# requested in the handshake - SSL_R_INVALID_CONFIG, reported as AH10158
# and turned into 403, even for a client which offered the
# post_handshake_auth extension and presented a valid certificate.
@not_backported("r1938504", "no SSL_VERIFY_CLIENT_ONCE with post-handshake auth")
@not_backported("r1938504", "no SSL_VERIFY_CLIENT_ONCE with post-handshake auth", backported_in="2.4.72")
def test_ssl_003_05(self, env):
r = self.get(env, "TLSv1.3", "1.3", VHOSTS["optional"])
assert r.exit_code == 0, f"handshake failed: {r.stderr}"
Expand Down
Loading