Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to set up Subversion repository browsing through Redmine. I'm running into certificate problems when I try to access the repository tab.

I'm using VisualSVN on a Windows 2003 server.

In the server log file (production.log), I see:

No close tag for /lists/list Line: Position: Last 80 unconsumed characters: Output was: svn: OPTIONS of '': Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted ( Rendering template within layouts/base Completed in 1.57800 (0 reqs/sec) | Rendering: 0.01600 (1%) | DB: 0.03100 (1%) | 500 Internal Server Error []

In subversion_adapter.rb, I have:

def credentials_string
      str = ''
      str << " --username #{shell_quote(@login)}" unless @login.blank?
      str << " --password #{shell_quote(@password)}" unless @login.blank? || @password.blank?
      str << " --no-auth-cache --trust-server-cert --non-interactive"


cmd = "#{SVN_BIN} list --xml #{target(URI.escape(path))}@#{identifier} 2>&1"

(based on

When I delete the folder: D:\Documents and Settings\Administrator\Application Data\Subversion\auth, I get this in the command prompt:

D:\Documents and Settings\Administrator>svn list --username user --password pass word Error validating server certificate for '': - The certificate is not issued by a trusted authority. Use the fingerprint to validate the certificate manually! - The certificate hostname does not match. Certificate information: - Hostname: SrcSafe - Valid: from Wed, 15 Apr 2009 02:41:16 GMT until Sat, 13 Apr 2019 02:41:16 GMT

  • Issuer: SrcSafe
  • Fingerprint: d6:ee:7c:91:4f:55:97:42:24:17:89:f3:86:43:c6:10:d9:14:f6:d6 (R)eject, accept (t)emporarily or accept (p)ermanently? p svn: OPTIONS of '': 200 OK (

This populates an entry in auth\svn.ssl.server, but nothing in svn.simple, svn.ssl.client-passphrase, or svn.username.

In D:\Documents and Settings\Administrator\Application Data\Subversion\server, I've also set: ssl-trust-default-ca = yes store-ssl-client-cert-pp = yes

Now, I'm pretty sure the hostname changed after the self-signed certificate was created (from SrcSafe to Loki), but am unsure if that makes a difference.

One other thing to note is when I try to access the web page, with D:\Documents and Settings\Default User\Application Data\Subversion\auth empty, it does create svn.ssl.server, svn.simple, svn.ssl.cient-passphrase, and svn.username, but all of them are empty.

Any ideas?

share|improve this question
up vote 0 down vote accepted

Ok, I figured it out. Apparently, VisualSVN has a way of generating a new self-signed certificate. Having the right hostname did make a difference. Also, the Repository setting had to point to a single repository (e.g., https://loki:8443/svn/Sandbox)., instead of just the svn directory (https://loki:8443/svn).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.