I'm trying to setup subversion + apache + ssl + digest authentication
in Centos 5.
I can visit the browser page at https://repo.example.com/. It asks for
the credentials and shows the page:
Revision 0: /
Powered by Subversion version 1.4.2 (r22196).
But I can't import a directory into the repository:
$ svn import /html/example.com https://repo.example.com/example.com
Log message unchanged or not specified
(a)bort, (c)ontinue, (e)dit :
c
Authentication realm: <https://repo.example.com:443> repo.example
Password for 'my_user':
Authentication realm: <https://repo.example.com:443> repo.example
Username: my_user
Password for 'my_user':
Authentication realm: <https://repo.example.com:443> repo.example
Username: my_user
Password for 'my_user':
svn: OPTIONS of 'https://repo.example.com/example.com': authorization
failed (https://repo.example.com)
My virtual host config:
<VirtualHost 1.2.3.4:443>
ServerName repo.example.com:443
ServerAdmin admin_at_example.com
SSLCertificateFile /etc/pki/tls/certs/ck.example.com.crt
SSLCertificateKeyFile /etc/pki/tls/private/ck.example.com.key
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
DocumentRoot /home/repo.example
ErrorLog logs/repo.example-error_log
CustomLog logs/repo.example-access_log combined
Options -Indexes
<Directory /home/repo.example>
SSLRequireSSL
SVNPath /home/repo.example
DAV svn
AuthType Digest
AuthName "repo.example"
AuthUserFile /var/www/passwd/repo.example.txt
AuthDigestDomain /home/repo.example
Require user my_user
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
Any ideas?
Regards, Clodoaldo
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2375043
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-24 01:38:24 CEST