berth...@despammed.com (Berthold Höllmann) writes:

> Hello,
>
> Can I use the the client certificate Common Name to match the user name
> in the AuthzSVNAccessFile file? If yes, how is it done? 

I found the information I was looking for at <http://moinmo.in/TomYJWu>


        <Location /svn>
                Order allow,deny
                Allow from all
                SSLRequireSSL                   # Add if you want to force 
everyone to use https
                SSLVerifyClient optional        # Or set to required if you 
don't want anonymous access
                SSLUserName SSL_CLIENT_S_DN_CN  # This is the field with the 
username in the certificate

                DAV svn                         # Activate SVN
                SVNParentPath /var/local/www/svn/repository # The SVN Root

                AuthzSVNAccessFile /etc/subversion/public-svn-authzfile # All 
authorization happens in this file
        </Location>

In case somebody else is having this Pproblem.

Kind regards
Berthold Höllmann
-- 
                            __   Address:
                         G /  \ L Germanischer Lloyd
phone: +49-40-36149-7374 -+----+- Vorsetzen 35       P.O.Box 111606
fax  : +49-40-36149-7320   \__/   D-20459 Hamburg    D-20416 Hamburg

Reply via email to