connection error with svnsync during SSL communication
Asked Answered
V

0

6

I am on a Windows Server machine and trying to make a mirror of an SVN repository using svnsync (version 1.8.1 for win32, not installed, just extracted and svnsync called straight from the bin folder). The server requires a client certificate to grant access (https).

The messages I get from svnsync are

  1. E120171: Unable to connect to a repository at URL https://external.svnserver.com/myrepos
  2. E120171: An error occurred during SSL communication.

I can check out the repository via TortoiseSVN, providing my certificate as pfx-file.

I assume I have to provide the certificate for the svnsync command as well. Question is how? Or are there other options to mirror an svn repository?

Varix answered 27/8, 2013 at 14:0 Comment(4)
What version of svnsync are you using and do you get the error immediately or does it happen part way through a sync?Antimatter
I put more details into the question. I use version 1.8.1 and the error appears after about 2 seconds running svnsync init, no data transferred.Varix
Log into the server, do a checkout - just so it asks you for a certificate - accept the certificate, then go back to the machine you were working on and try running the command with the --trust-server-cert optionWanids
@SameerSingh thanks for the suggestion, it didn't worked though - isn't it that I have to present my certificate to the server such that it grants access (rather than the other way around)?Varix

© 2022 - 2024 — McMap. All rights reserved.