Re: Oddity with httpd/mod_ssl: missing HTTPS environment variable on non _default_ vhosts

2014-02-28 Thread Olivier Mehani
Hi Joel, all, On Fri, Feb 21, 2014 at 12:14:28AM +1100, Joel Sing wrote: > > I have an OpenBSD 5.4 machine, with httpd serving pages successfully > > over both HTTP and HTTPS (with a CaCert-issued certificate). I want to > > serve multiple sites on both protocols (the certificate has AltNames for

Re: Oddity with httpd/mod_ssl: missing HTTPS environment variable on non _default_ vhosts

2014-02-20 Thread Stuart Henderson
On 2014-02-20, Joel Sing wrote: > Name-based virtual hosting and SSL is a can of worms. In short, without SNI > (which AFAICT the base httpd does not support) the server does not know which > virtual server is required until after the SSL session has already been > established. SNI is only nee

Re: Oddity with httpd/mod_ssl: missing HTTPS environment variable on non _default_ vhosts

2014-02-20 Thread Markus Wernig
Not sure about the ported httpd, but usually you have to enable the generation of those environment vars with SSLOptions +StdEnvVars as they are off by default. krgds /m On Tue, 18 Feb 2014, Olivier Mehani wrote: (Almost) everything works fine, and I do indeed manage to successfully acces

Re: Oddity with httpd/mod_ssl: missing HTTPS environment variable on non _default_ vhosts

2014-02-20 Thread Joel Sing
On Tue, 18 Feb 2014, Olivier Mehani wrote: > Hi all, > > I have been battling with this issue for far too long, and I am at wits > end. > > I have an OpenBSD 5.4 machine, with httpd serving pages successfully > over both HTTP and HTTPS (with a CaCert-issued certificate). I want to > serve multiple

Re: Oddity with httpd/mod_ssl: missing HTTPS environment variable on non _default_ vhosts

2014-02-20 Thread Olivier Mehani
Hey Philip, On February 20, 2014 7:49:17 PM AEDT, Philip Guenther wrote: >> (Almost) everything works fine, and I do indeed manage to >successfully >> access all sites over HTTPS as expected. However, the HTTPS >environment >> variable, which should be set to 'on' for HTTPS sessions, is missing

Re: Oddity with httpd/mod_ssl: missing HTTPS environment variable on non _default_ vhosts

2014-02-20 Thread Philip Guenther
On Mon, Feb 17, 2014 at 5:08 AM, Olivier Mehani wrote: > I have an OpenBSD 5.4 machine, with httpd serving pages successfully > over both HTTP and HTTPS (with a CaCert-issued certificate). I want to > serve multiple sites on both protocols (the certificate has AltNames for > the various sites). >

Oddity with httpd/mod_ssl: missing HTTPS environment variable on non _default_ vhosts

2014-02-17 Thread Olivier Mehani
Hi all, I have been battling with this issue for far too long, and I am at wits end. I have an OpenBSD 5.4 machine, with httpd serving pages successfully over both HTTP and HTTPS (with a CaCert-issued certificate). I want to serve multiple sites on both protocols (the certificate has AltNames fo