[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: servers "ssl-authority-files" with svn lib

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 21 Nov 2013 13:59:49 +0100

On Wed, Nov 20, 2013 at 06:53:48PM +0100, Kai-Uwe.Schieser_at_hydrometer.de wrote:
> Please add me to the answer list, cause I am not subscribed.
>
>
> Hi there!
>
> I am using the binary package of Subversion library version 1.7.9 in my
> software project.
> I have written a simple client that I use in an other software to simply
> checkout from a repository and update it to a specified revision
> automatically.
>
> Due to the certificate of the server, that must be accepted by the
> client, I set the ssl-authority-files to a local certificate file.in the
> servers file of subversion.
> I tested if it works right with the Tortoise svn-client and it does the
> job. The entry is something like ssl-authority-files=
> C:/svn.hostname.de.crt
>
> If I try to checkout with the library the whole software crashes without
> any error messages.
>
> It seems the entry in the servers file ,makes my simple client crashing.
> As I mentioned the Tortoise works fine with the entry ssl-authority-files.
>
> The simple client library works fine, when I accepted the certificate
> permenantly in the Tortoise before I checkout with the lib.
>
> Do I need to activate something in my library to ensure the proper usage
> of the servers file entry ssl-authority-files ?
> I am sure the entry is evaluated, because I get an error nmessage, when I
> enter a wrong file name.
>
>
> I hope you hava an idea. Thanks,
> Kai

It is hard to tell where the problem could be without seeing the
source code of your client.

But here's a guess: Are you seeting up authentication providers properly?
See the function svn_cmdline_create_auth_baton() in this file:
https://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_subr/cmdline.c
Received on 2013-11-21 14:00:32 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.