Red Hat Bugzilla – Bug 478883
Subversion fails to handle client certificates
Last modified: 2009-12-18 02:30:11 EST
Description of problem:
I have a subversion repository where I have limited access such that connecting clients must present a valid client certificate. I can successfully browse the repository with Firefox on Fedora 10 once I import the appropriate client certificate. However, subversion is unable to access the repository; a sample error message (with URL obscured) follows:
[klmitch@kev-mobile programming]$ svn update
svn: OPTIONS of 'https://xxx.example.com/svn/programming/trunk': Could not read status line: SSL error: Rehandshake was requested by the peer. (https://xxx.example.com)
This same thing worked fine from a different machine running FC8 (before I upgraded it to FC10). My .subversion/servers file contains appropriate entries for the server in question, so I doubt that's the problem.
Version-Release number of selected component (if applicable):
None of my client certificate-secured subversion repositories can be accessed.
Steps to Reproduce:
1. Set up a client certificate-secured subversion repository.
2. Set up the subversion client to have the appropriate entries in .subversion/servers
3. Attempt to access the secured subversion repository.
The subversion client is unable to access the subversion repository.
Subversion should be able to access the repository.
A Google search on the error message turned up a Debian bug which is probably related. The relevant URL is http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480041. The executive summary appears to be that subversion fails with this error if using libneon27-gnutls, but works fine if using libneon27, suggesting a gnutls bug or perhaps a libneon bug related to using gnutls.
It looked like this is a gnutls bug but I didn't prove this conclusively, so at most it's a neon bug.
I am willing to test ant rpms that fix/workaround this.
I confirm the same problem and I am willing to test any rpms that could fix this.
I can confirm this is a problem on a standard subversion repo with just a username+password. The repo is hosted on an SSL web server but does not use client certificates. Again in my case this worked fine on a Fedora 8 box with that subversion client but this one won't connect, and I get this:
svn: OPTIONS of 'https://svn.collab.net/repos/svn/trunk': could not connect to server (https://svn.collab.net)
It's the same error for every https/ssl repo. I just used that one as a trial. No network packets are sent as I started a sniffer trace, so this dies somewhere before it hits the wire.
Looks like the debian folks found and fixed this:
It seems to be resolved in a later release of neon.
Oh and I am on Fedora 11 with all of the latest updates as of today.
I can confirm that the neon in the latest development/rawhide bundle fixes this issue. The fix for me was:
rpm -i neon-0.28.5-2.fc12.src.rpm
rpmbuild -bb neon.spec
rpm -U neon-0.28.5-2.fc11.i586.rpm
The maintainer may want to consider updating the FC11 release of neon to this version.
Robert: if you're seeing this fixed in 0.28.5, it's a slightly different to that tracked here.
There are 0.28.5 packages on their way to stable updates:
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '10'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 10's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 10 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.