SSLEngine optional and SSLRequireSSL ?

Rémi Denis-Courmont <[email protected]>
Newsgroups gmane.comp.apache.mod-ssl.user
Organization SimPhalempin.Com
Message-ID <[email protected]>
	Hello,

It seems that SSLRequireSSL prevents TLS Upgrade from working at all, or 
I got something wrong. Still, I have not been able to find out how to 
force TLS Upgrade on a SSLEngine optional... If I use SSLRequireSSL, 
Apache will properly return 426 whenever a client performs an 
unencrypted request, but that will block the TLS Upgrade request itself 
too (since it is not encrypted either).

I've tried that but that does not seem to work either (plus I am not 
sure if allowing unencryted OPTIONS is actually safe):
<LimitExcept OPTIONS>
	SSLRequireSSL
</LimitExcept>

This is a sample:

OPTIONS * HTTP/1.1
Host: www.example.com
Upgrade: TLS/1.0
Connection: Upgrade

HTTP/1.1 426 Upgrade Required
Date: Fri, 16 Feb 2007 18:54:30 GMT
Server: Apache/2.2
Upgrade: TLS/1.0, HTTP/1.1
Connection: Upgrade
Content-Length: 459
...

Has anyone been able to work around this chicken-and-egg problem?

Regards,

-- 
Rémi Denis-Courmont
http://www.remlab.net/
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iEYEABECAAYFAkXWBLkACgkQw+xtvt1tEr21nQCfeVfIftpSwd9CPPcJsKdMoXg2
TAsAn25uIdyn7Bzi7eKFo6UyKRW3M6oC
=qzq7
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.