SVN and SSL
From: Moore, Tom <Tom.Moore_at_aig.com>
Date: Fri, 25 Jan 2008 11:21:48 -0500
OK, trying to figure this out quickly
SVN is setup running 1.4.6,
Original SVN portion of apache conf was as follows:
<Location /svn>
DAV svn
SVNParentPath /home/test/svn
# Fancy, fancy
SVNIndexXSLT "/svnindex.xsl"
# Limit WRITE permission to list of valid users.
<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthType Basic
AuthName test.com
AuthUserFile /home/test/etc/svn.basic.passwd
Require valid-user
AuthUserFile /home/test/etc/svn-access.conf
Satisfy Any
</LimitExcept>
</Location>
Worked fine... except we discuss some users working remotely are stuck
New SVN portion:
SSLVerifyClient none
SSLVerifyDepth 10
<Location /svn>
DAV svn
SVNParentPath /home/test/svn
# Fancy, fancy
SVNIndexXSLT "/svnindex.xsl"
# Limit WRITE permission to list of valid users.
<LimitExcept GET PROPFIND OPTIONS REPORT>
SSLRequireSSL
# Client Authentication (Type):
# Client certificate verification type and depth. Types are
# none, optional, require and optional_no_ca. Depth is a
# number which specifies how deeply to verify the certificate
# issuer chain before deciding the certificate is not valid.
#
# "optional" makes it visible generally...
#
#SSLVerifyClient require
# SSLVerifyDepth must be >= the number of CA certificates in your
# SSLCACertificateFile.
#SSLVerifyDepth 10
# This actually is what makes everything work!!
SSLOptions +FakeBasicAuth
AuthType Basic
AuthName test.com
AuthUserFile /home/test/etc/svn.basic.passwd
Require valid-user
AuthUserFile /home/test/etc/svn-access.conf
Satisfy Any
</LimitExcept>
</Location>
We don't have a need for client certificate level security, and would
This scenario "works" in that it allows our users to access SVN, but
1) even though we set up SSL access, it is possible to access the
2) This one is more important. Ever since we set up SSL access,
Tom Moore
tom.moore_at_aig.com
|
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.