You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Martin J. Stumpf" <mj...@jhu.edu> on 2004/12/30 22:43:48 UTC

AuthzSVNAccessFile usage with SSL

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello all,<br>
<br>
I have read the book and setup my httpd.conf to use the
AuthzSVNAccessFile directives.<br>
I want to use the SSLRequireSSL directive in the &lt;location&gt; block
but can't get it to work.&nbsp; I have read the httpd directives manual at
apache and it seems like it should work. I of course don't want clear
text passwords going over the wire.<br>
<br>
This is what I have in the subversion.conf in the location block. I am
using Fedora core 2.<br>
<br>
&lt;Location /svn&gt;<br>
&nbsp;&nbsp;&nbsp; DAV svn<br>
&nbsp;&nbsp;&nbsp; SVNParentPath /mip/svn<br>
&nbsp;&nbsp;&nbsp; SVNIndexXSLT "/svnindex.xsl"<br>
# Authentication<br>
&nbsp;&nbsp;&nbsp; SSLRequireSSL<br>
&nbsp;&nbsp;&nbsp; Require valid-user<br>
&nbsp;&nbsp;&nbsp; AuthType Basic<br>
&nbsp;&nbsp;&nbsp; AuthName "MIP SVN Repositories"<br>
&nbsp;&nbsp;&nbsp; AuthUserFile /mip/svn/users<br>
# Authorization<br>
&nbsp;&nbsp;&nbsp; AuthzSVNAccessFile /mip/svn/authorizations<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
&lt;/Location&gt;<br>
<br>
Has anyone achieved this behavior? Requiring the use of https to pass
the passwords?<br>
<br>
Thank you very much for your time.<br>
<div class="moz-signature">-- <br>
<span color="blue">
<address><small>
<hr height="4" align="left" width="375">Martin J. Stumpf<br>
Division of Medical Imaging Physics, Department of Radiology<br>
Johns Hopkins University School of Medicine<br>
601 North Caroline Street / JHOC 4230<br>
Baltimore, Maryland 21287-0859 USA<br>
Voice: (410) 614-0115 Fax: (410) 614-9979<br>
</small></address>
</span></div>
</body>
</html>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: AuthzSVNAccessFile usage with SSL

Posted by Aaron Wohl <aw...@chessclub.com>.
SSLRequireSSL means it will fail if you try to access that location over
http:  It doesnt make it become ssl.  To do that move the that block of
config you have into conf file for a ssl server.


----- Original message -----
From: "Martin J. Stumpf" <mj...@jhu.edu>
To: users@subversion.tigris.org
Date: Thu, 30 Dec 2004 17:43:48 -0500
Subject: AuthzSVNAccessFile usage with SSL


Hello all,
I have read the book and setup my httpd.conf to use the
AuthzSVNAccessFile directives.
I want to use the SSLRequireSSL directive in the <location>
block but can't get it to work.  I have read the httpd
directives manual at apache and it seems like it should work. I
of course don't want clear text passwords going over the wire.
This is what I have in the subversion.conf in the location
block. I am using Fedora core 2.
<Location /svn>
    DAV svn
    SVNParentPath /mip/svn
    SVNIndexXSLT "/svnindex.xsl"
# Authentication
    SSLRequireSSL
    Require valid-user
    AuthType Basic
    AuthName "MIP SVN Repositories"
    AuthUserFile /mip/svn/users
# Authorization
    AuthzSVNAccessFile /mip/svn/authorizations


</Location>
Has anyone achieved this behavior? Requiring the use of https to
pass the passwords?
Thank you very much for your time.

--

 _________________________________________________________

 Martin J. Stumpf
 Division of Medical Imaging Physics, Department of Radiology
 Johns Hopkins University School of Medicine
 601 North Caroline Street / JHOC 4230
 Baltimore, Maryland 21287-0859 USA
 Voice: (410) 614-0115 Fax: (410) 614-9979

----------------------------------------------------------------
----- To unsubscribe, e-mail:
users-unsubscribe@subversion.tigris.org For additional commands,
e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org