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

Server certificate verification failed: (ssl-authority-files)

From: Mala Dibbs <griori-mala_at_yahoo.de>
Date: Thu, 08 Oct 2009 16:37:12 +0200

Hi,

I need to accept an untrusted certificate in --non-interactive mode.
I read in the subversion book that it obviously has something to do with the
ssl-authority-files directive in the servers config file.

So this is what I did:

1. Opened the repository (https://host1/repo) in Firefox.
2. Page Info -> Security -> View Certificate -> Export as X.509 (PEM)
3. Uploaded that pem to the server which is running the subversion client
4. Moved the pem to /etc/ssl/certs
5. Modified /etc/subversion/servers with
ssl-authority-files = /etc/ssl/certs/host1.pem;
6. Restarted the apache2

Unfortunately if I do:
svn list https://host1/repo --non-interactive --username=peter --password=gugu
it still gives me:
Server certificate verification failed: certificate issued for a different
hostname (https://host1)

Do I need an other certificate from host1?
How can I fix this?

Greets, mala

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2405077

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-08 16:43:30 CEST

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.