fakebasicauth documentation is *wrong* and doesn"t work for me
am 17.07.2002 12:19:49 von Oliver BodeHello,
I can't get fakebasicauth to work. The documentation is *wrong* and doesn't
work for me.
Can someone show me how I can set this up as I am sick of enerting my
authentication details for my certificate everytime I look at a file in a
secured directory?
>From the howto http://www.modssl.org/docs/2.8/ssl_howto.html:
SSLVerifyClient none
SSLVerifyClient require
SSLVerifyDepth 5
SSLCACertificateFile conf/ssl.crt/ca.crt
SSLCACertificatePath conf/ssl.crt
SSLOptions +FakeBasicAuth
SSLRequireSSL
AuthName "Snake Oil Authentication"
AuthType Basic
AuthUserFile /usr/local/apache/conf/httpd.passwd
require valid-user
Note that the SSLCACertificateFile and SSLCACertificatePath are *inside* a
http://www.modssl.org/docs/2.8/ssl_reference.html#ToC14
that the context of these directives are in: server config, virtual host
Also from the howto:
/C=DE/L=Munich/O=Snake Oil, Ltd./OU=Staff/CN=Foo:xxj31ZMTZzkVA
/C=US/L=S.F./O=Snake Oil, Ltd./OU=CA/CN=Bar:xxj31ZMTZzkVA
/C=US/L=L.A./O=Snake Oil, Ltd./OU=Dev/CN=Quux:xxj31ZMTZzkVA
What is "xxj31ZMTZzkVA" ?
This string is not what I get when I use htpasswrd with the password as
"password" I get:KI5eE8rTJvs.U and when I use the -m switch I get:
$apr1$KujN4/..$exMhWW135aqs/4cQbZJ2v/
Not that it matters because with whatever I use I just get forbidden !
Does it work for anybody ?
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org