You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Joe Orton <jo...@redhat.com> on 2025/10/20 09:21:50 UTC

[RFC/PATCH] mod_ssl: add SSLVHostSNIPolicy directive

I've opened a PR with a proposed new directive SSLVHostSNIPolicy to 
resolve the issues many users are having migrating to 2.4.65. 
https://github.com/apache/httpd/pull/561

This both:
a) allows users to select a weaker vhost compatibility mode
b) strengthens the default and allows a stronger mode selection

Usage: SSLVHostSNIPolicy <policy> where policy must be one of:

* strict => fail for any vhost mismatch
* authonly => fail only for client verification/auth differences
* secure => fail as authonly plus ciphersuite, protocol, keypair differences
* insecure => allow everything

"secure" is the proposed default which keeps current (2.4.65) behaviour.

I've added checking for any difference in use of SSLOpenSSLConfCmd to 
"authonly" since the semantics of those directives are unknown to 
mod_ssl. But open to other opinions on that.

Regards, Joe


Re: [RFC/PATCH] mod_ssl: add SSLVHostSNIPolicy directive

Posted by Joe Orton <jo...@redhat.com>.
On Mon, Oct 20, 2025 at 10:21:50AM +0100, Joe Orton wrote:
> I've opened a PR with a proposed new directive SSLVHostSNIPolicy to 
> resolve the issues many users are having migrating to 2.4.65. 
> https://github.com/apache/httpd/pull/561

Thanks for the reviews in the PR :) Merged in r1929308 and I'll propose 
a 2.4.x backport next week.

Regards, Joe