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

Re: [TSVN] Problem concerning certificate authentication

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-06-25 20:18:30 CEST

Marius Wittstadt wrote:

> I have a very annoying problem.
>
> I’m using TortoiseSVN(1.0.6.1200 ) to access a subversion repository
> via https.
>
> I have to use a signed certificate for authentication.
>
> It’s a .pfx file exported from my IE. But as far as I know the file
> extension doesn’t matter.

The file extensions for certificates are *.p12 or *.pkcs12. And the
certificate must also be in that format. Don't know if the IE
certificates are in that format though.

> Now I try to update my local folders.
>
> Tsvn asks me for a certificate. My file is not shown at first because
> it only shows “certificate” Files.
>
> What file extension would that be?

See above.

> But that’s not the problem. I select my certificate and tsvn asks me
> for the password.
>
> I activate the ”remember password” checkbox and select OK.
>
> Now to the problem:
>
> After the first time selecting the certificate it asks me a second
> time.

Yes. Because TSVN does an 'svn st -u' before each update to make sure
that if you select several files for updating that all those files get
updated to the same revision (to prevent different revisions if someone
else commits a new revision between updates).

> Then the “update” works.
>
> But every svn action asks me one or two times for the certificate.
>
> And I always check “remember password”.

"password" is not the same as a certificate.

> It’s just annoying to select the certificate and the enter my
> password again and again.
>
> Perhaps someone knows a solution for this problem.
>
> I would be really happy, If I could properly use tsvn .

You have to tell Subversion which certificates to use! To do that, go to
the folder %APPDATA%\Subversion (%APPDATA% is on a german system usually
in c:\dokumente und einstellungen\username\Anwendungsdaten). Then edit
the file "servers" with your favourite text editor. You will find in
there all the information you need - most of those config lines are
comments and help texts. Check out the config options
ssl-client-cert-file
ssl-client-cert-password
ssl-trust-default-ca
ssl-authority-files

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Jun 25 21:22:51 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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