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

Problem with server certificate: solved

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2005-10-29 15:46:42 CEST

I had a problem with a new repository set up by a colleague, that I was
trying to access using https. He had his own certificate, without a
trusted authority, so I got this message when trying to connect through svn:

$ svn list https://<his address>/svn/
Error validating server certificate for 'https://<his address>:443':
  - 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: <his name>
  - Valid: from Oct 28 22:30:11 2005 GMT until Oct 28 22:30:11 2006 GMT
  - Issuer: <his name>
  - Fingerprint: <blah blah blah>
(R)eject, accept (t)emporarily or accept (p)ermanently?

I would respond with p (or t, or R), and got no action, as though the
program was still waiting for input.

I finally tracked down the problem: I was running svn in a Cygwin
bash shell, and something about that combination stopped the answer from
getting through to it. I tried the same command in a Windows CMD shell,
and things worked fine; after I permanently accepted the certificate,
things worked fine in Cygwin too.

I hope this helps someone.

Duncan Murdoch

Versions:
$ svn --version
svn, version 1.1.3 (r12730)
    compiled Jan 20 2005, 05:51:34

$ bash --version
GNU bash, version 2.05b.0(1)-release (i686-pc-cygwin)
Copyright (C) 2002 Free Software Foundation, Inc.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Oct 29 15:48:01 2005

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.