mod_ssl: SSLRequire
am 05.04.2006 14:08:42 von Olaf Gellert
I try to do X.509 client authentication with Apache
Apache/2.0.54. This works fine. Now I want to check
for certain fields in the client certificate with
SSLRequire. Even though I ask that
%{SSL_CLIENT_S_DN_CN} eq "Testuser"
the server permits accesss to a client with
SSL_CLIENT_S_DN_CN="testuser2". What's wrong?
Here is the according section from my config:
SSLOptions +FakeBasicAuth +StdEnvVars +CompatEnvVars +StrictRequire
AllowOverride None
Options +FollowSymLinks +Includes
Order deny,allow
Deny from all
Allow from localhost
SSLRequireSSL
SSLRequire ( %{SSL_CLIENT_S_DN_O} eq "SSLTest SubCA 01" \
&& %{SSL_CLIENT_S_DN_OU} eq "User Certificates" \
&& %{SSL_CLIENT_S_DN_CN} eq "Testuser" )
Anything forgotten? If I print out the environment from
within the webpage (with SSI #printenv), I see (among all
the other variables):
SSL_CLIENT_S_DN_O=SSLTest SubCA 01
SSL_CLIENT_S_DN_OU=User Certificates
SSL_CLIENT_S_DN_CN=testuser2
Hmmm.... Any clues?
Olaf
--
Dipl.Inform. Olaf Gellert PRESECURE (R)
Senior Researcher, Consulting GmbH
Phone: (+49) 0700 / PRESECURE og@pre-secure.de
A daily view on Internet Attacks
https://www.ecsirt.net/sensornet
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
RE: mod_ssl: SSLRequire
am 05.04.2006 16:54:24 von Oliver.Schaudt
This is a multi-part message in MIME format.
------_=_NextPart_001_01C658C0.E9EDB2EA
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Perhaps
SSLVerifyClient require
Default is
SSLVerifyClient none
Greetings
Oliver
-----Ursprüngliche Nachricht-----
Von: owner-modssl-users@modssl.org im Auftrag von Olaf Gellert
Gesendet: Mi 05.04.2006 14:08
An: modssl-users@modssl.org
Betreff: mod_ssl: SSLRequire
=20
I try to do X.509 client authentication with Apache
Apache/2.0.54. This works fine. Now I want to check
for certain fields in the client certificate with
SSLRequire. Even though I ask that
%{SSL_CLIENT_S_DN_CN} eq "Testuser"
the server permits accesss to a client with
SSL_CLIENT_S_DN_CN=3D"testuser2". What's wrong?
Here is the according section from my config:
SSLOptions +FakeBasicAuth +StdEnvVars +CompatEnvVars +StrictRequire
AllowOverride None
Options +FollowSymLinks +Includes
Order deny,allow
Deny from all
Allow from localhost
SSLRequireSSL
SSLRequire ( %{SSL_CLIENT_S_DN_O} eq "SSLTest SubCA 01" \
&& %{SSL_CLIENT_S_DN_OU} eq "User Certificates" \
&& %{SSL_CLIENT_S_DN_CN} eq "Testuser" )
Anything forgotten? If I print out the environment from
within the webpage (with SSI #printenv), I see (among all
the other variables):
SSL_CLIENT_S_DN_O=3DSSLTest SubCA 01
SSL_CLIENT_S_DN_OU=3DUser Certificates
SSL_CLIENT_S_DN_CN=3Dtestuser2
Hmmm.... Any clues?
Olaf
--=20
Dipl.Inform. Olaf Gellert PRESECURE (R)
Senior Researcher, Consulting GmbH
Phone: (+49) 0700 / PRESECURE og@pre-secure.de
A daily view on Internet Attacks
https://www.ecsirt.net/sensornet
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
------_=_NextPart_001_01C658C0.E9EDB2EA
Content-Type: application/ms-tnef;
name="winmail.dat"
Content-Transfer-Encoding: base64
eJ8+IgEOAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcA GAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEAGAAAAFJFOiBt b2Rfc3NsOiBTU0xS
ZXF1aXJlAAsIAQWAAwAOAAAA1gcEAAUAEAA2ABgAAwBHAQEggAMADgAAANYH BAAFABAANwAAAAMA
MAEBCYABACEAAAA4M0JBMUNDRjhFQkI0OTQ3QTkzNzlERDI1NkY0NEY0OQBn BwEDkAYACAwA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sACUAMwBBACAAUwBTAEwAUgBlAHEAdQBpAHIAZQAuAEUATQBMAAAA CwD2EAAAAABAAAcw
4fEb1MBYxgFAAAgwdZ756cBYxgEDAN4/r28AAAMA8T8HBAAAHgD4PwEAAAAQ AAAAU2NoYXVkdCwg
T2xpdmVyAAIB+T8BAAAAWwAAAAAAAADcp0DIwEIQGrS5CAArL+GCAQAAAAAA AAAvTz1BVklOQ0kv
T1U9RklSU1QgQURNSU5JU1RSQVRJVkUgR1JPVVAvQ049UkVDSVBJRU5UUy9D Tj1NMDU0NwAAHgD6
PwEAAAAVAAAAU3lzdGVtIEFkbWluaXN0cmF0b3IAAAAAAgH7PwEAAAAeAAAA AAAAANynQMjAQhAa
tLkIACsv4YIBAAAAAAAAAC4AAAADAP0/5AQAAAMAGUAAAAAAAwAaQAAAAAAD AB1AAAAAAAMAHkAA
AAAAHgAwQAEAAAAGAAAATTA1NDcAAAAeADFAAQAAAAYAAABNMDU0NwAAAB4A MkABAAAAHgAAAG93
bmVyLW1vZHNzbC11c2Vyc0Btb2Rzc2wub3JnAAAAHgAzQAEAAAARAAAAb2dA cHJlLXNlY3VyZS5k
ZQAAAAAeADhAAQAAAAYAAABNMDU0NwAAAB4AOUABAAAAAgAAAC4AAAADAHZA /////wsAKQAAAAAA
CwAjAAAAAAADAAYQZMzgJwMABxBLBQAAAwAQEAAAAAADABEQAAAAAB4ACBAB AAAAZQAAAFBFUkhB
UFNTU0xWRVJJRllDTElFTlRSRVFVSVJFREVGQVVMVElTU1NMVkVSSUZZQ0xJ RU5UTk9ORUdSRUVU
SU5HU09MSVZFUi0tLS0tVVJTUFL8TkdMSUNIRU5BQ0hSSUNIVC0AAAAAAgF/ AAEAAAA7AAAAPDlC
NEUzN0RDQjhENTdENDA4RkY5NjBCNTM2RjBFNTI3NDMzMEZDQG1zMDEwMTIu YXZpbmNpLmRlPgAA
Ek8=
------_=_NextPart_001_01C658C0.E9EDB2EA--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
Re: mod_ssl: SSLRequire
am 05.04.2006 17:11:44 von Olaf Gellert
Oliver.Schaudt@unilog.de wrote:
> Perhaps
> SSLVerifyClient require
>
> Default is
> SSLVerifyClient none
Good idea, but this is set already (otherwise the
client would not authentify with the certificate)
for this virtual host. Moving it into the directory
section does not change anything either. And VerifyDepth
is set, too...
Olaf
--
Dipl.Inform. Olaf Gellert PRESECURE (R)
Senior Researcher, Consulting GmbH
Phone: (+49) 0700 / PRESECURE og@pre-secure.de
A daily view on Internet Attacks
https://www.ecsirt.net/sensornet
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
RE: mod_ssl: SSLRequire
am 05.04.2006 17:43:07 von Oliver.Schaudt
This is a multi-part message in MIME format.
------_=_NextPart_001_01C658C8.1D71775A
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
=20
>Oliver.Schaudt@unilog.de wrote:
>> Perhaps
>> SSLVerifyClient require
>>=20
>> Default is
>> SSLVerifyClient none
>Good idea, but this is set already (otherwise the
>client would not authentify with the certificate)
>for this virtual host. Moving it into the directory
>section does not change anything either. And VerifyDepth
>is set, too...
How deep is VerifyDepth ?=20
I know it will be a big file, but for this purposes i use to turn on
"LogLevel Debug" than the error_log will become very verbose.
There Apache will tell if your "testuser" will be checked or not .
>Olaf
bye
Oliver
--=20
Dipl.Inform. Olaf Gellert PRESECURE (R)
Senior Researcher, Consulting GmbH
Phone: (+49) 0700 / PRESECURE og@pre-secure.de
A daily view on Internet Attacks
https://www.ecsirt.net/sensornet
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
------_=_NextPart_001_01C658C8.1D71775A
Content-Type: application/ms-tnef;
name="winmail.dat"
Content-Transfer-Encoding: base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wNTQ3AAAeAPo/AQAAABUAAABTeXN0ZW0gQWRtaW5pc3Ry YXRvcgAAAAACAfs/
AQAAAB4AAAAAAAAA3KdAyMBCEBq0uQgAKy/hggEAAAAAAAAALgAAAAMA/T/k BAAAAwAZQAAAAAAD
ABpAAAAAAAMAHUAAAAAAAwAeQAAAAAAeADBAAQAAAAYAAABNMDU0NwAAAB4A MUABAAAABgAAAE0w
NTQ3AAAAHgAyQAEAAAAeAAAAb3duZXItbW9kc3NsLXVzZXJzQG1vZHNzbC5v cmcAAAAeADNAAQAA
ABEAAABvZ0BwcmUtc2VjdXJlLmRlAAAAAB4AOEABAAAABgAAAE0wNTQ3AAAA HgA5QAEAAAACAAAA
LgAAAAMAdkD/////CwApAAAAAAALACMAAAAAAAMABhB9hHf7AwAHEOwCAAAD ABAQAQAAAAMAERAA
AAAAHgAIEAEAAABlAAAAT0xJVkVSU0NIQVVEVEBVTklMT0dERVdST1RFOlBF UkhBUFNTU0xWRVJJ
RllDTElFTlRSRVFVSVJFREVGQVVMVElTU1NMVkVSSUZZQ0xJRU5UTk9ORUdP T0RJREVBLEJVVFRI
SQAAAAACAX8AAQAAADsAAAA8OUI0RTM3RENCOEQ1N0Q0MDhGRjk2MEI1MzZG MEU1Mjc0MzMxMDBA
bXMwMTAxMi5hdmluY2kuZGU+AAAZnQ==
------_=_NextPart_001_01C658C8.1D71775A--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
Re: mod_ssl: SSLRequire
am 05.04.2006 19:30:08 von Olaf Gellert
Oliver.Schaudt@unilog.de wrote:
> How deep is VerifyDepth ?
I guess this is the wrong direction of error checking.
VerifDepth and VerifyRequire are used in evaluating the
certificate chain on SSL connection establishment, the
SSLRequire expression is evaluated after the HTTP request
is successfully transmitted and the server already knows
which webpage is requested (it's a "directory" section...)
Of course VerifyDepth is sufficient (every value above 2
works in my case, as expected), if it was not, the error
would be something like "unable to get issuer certificate",
because evaluation starts at the leaf (= client certificate)
going up to the root CA cer.
> I know it will be a big file, but for this purposes i use to turn on
> "LogLevel Debug" than the error_log will become very verbose.
> There Apache will tell if your "testuser" will be checked or not .
How would that look like? I see at the connection
establishment:
[Wed Apr 05 19:17:59 2006] [debug] ssl_engine_kernel.c(1228): Certificate Verification: depth: 2, subject: /C=DE/O=SSLTest Root CA/CN=SSLTest Root,
issuer: /C=DE/O=SSLTest Root CA/CN=SSLTest Root
[Wed Apr 05 19:17:59 2006] [debug] ssl_engine_kernel.c(1228): Certificate Verification: depth: 1, subject: /C=DE/O=SSLTest SubCA 01/CN=SSLTest SubCA
01, issuer: /C=DE/O=SSLTest Root CA/CN=SSLTest Root
[Wed Apr 05 19:17:59 2006] [debug] ssl_engine_kernel.c(1228): Certificate Verification: depth: 0, subject: /C=DE/O=SSLTest SubCA 01/OU=User
Certificates/CN=testuser2, issuer: /C=DE/O=SSLTest SubCA 01/CN=SSLTest SubCA 01
After many bytes of packet dump I see the HTTP request
arrived:
[Wed Apr 05 19:17:59 2006] [info] Initial (No.1) HTTPS request received for child 0 (server www.testserver.de:443)
and then again lots of bytes (the webpage that is delivered).
Nothing about the check of SSLRequire...
Thanx for your help anyways. :-) I guess the next step
will be stracing the whole thing...
--
Dipl.Inform. Olaf Gellert PRESECURE (R)
Senior Researcher, Consulting GmbH
Phone: (+49) 0700 / PRESECURE og@pre-secure.de
A daily view on Internet Attacks
https://www.ecsirt.net/sensornet
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org