[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Two way SSL authentification for https access to SVN and common name

From: Berthold Höllmann <berthold_at_despammed.com>
Date: Thu, 03 Dec 2009 11:19:12 +0100

berthold_at_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
Received on 2009-12-03 11:21:08 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.